title: cl_predict output in R
body: <pre><code>   data(iris)
     library(RSNNS)
     library(clue)
     iris = iris[sample(1:nrow(iris),length(1:nrow(iris))),1:ncol(iris)]
     irisValues= iris[,1:4]
     irisTargets = decodeClassLabels(iris[,5])
     iris = splitForTrainingAndTest(irisValues, irisTargets, ratio=0.4)
     km&lt;-kmeans(iris$inputsTrain,3)
     scorekm&lt;-function(km, x,...)
     {
     data=NA
     args&lt;-list(x,...)
     for(i in seq(from=1,to=nargs()-1,by=4))
     {
     data&lt;-rbind(c(args[[i]],args[[i+1]],args[[i+2]],args[[i+3]]),data)
     }
     result&lt;-cl_predict(km,data)
     result&lt;-paste(result,";",sep="")
     print(result, quote=FALSE)
   }
  scorekm(km,5.9,3.0,5.1,1.8,6.2,3.4,5.4,2.3,6.2,2.2,4.5,1.5 )
  [1] 2;  3;  2;  NA;
  </code></pre>
  
  <p>Can anyone help delete the blank space between the numbers in the output and delete <code>NA;</code> in the output?
  I hope my output looks like this <code>[1]2;3;2</code></p>