[R] concatenate values in the vector

Erik Iverson eriki at ccbr.umn.edu
Tue Aug 3 23:21:14 CEST 2010



Cristian Montes wrote:
> Even shorter is 
> 
> x<-c("a","b","c","d")
> paste(x, sep="+")

 > x<-c("a","b","c","d")
 > paste(x, sep="+")
[1] "a" "b" "c" "d"



More information about the R-help mailing list