[R] How to concatenate a vector of strings to a string?

Peng Yu pengyu.ut at gmail.com
Sat Nov 21 02:03:06 CET 2009


> paste(c('a','b'),sep='')
[1] "a" "b"

The above command doesn't concatenate the strings in a single string.
I'm wondering what is the correct way to do so.




More information about the R-help mailing list