[R] Concatenate vector into string
Spencer Graves
spencer.graves at pdf.com
Fri Mar 4 15:02:02 CET 2005
How about:
> paste( c("a","b","c"), collapse="")
[1] "abc"
>
hope this helps.
spencer graves
Matthieu Cornec wrote:
>Hello,
>
>I would like to convert c("a","b","c") into "abc".
>Anyone could help?
>Thanks,
>
>Matthieu Cornec
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
More information about the R-help
mailing list