Re: [R] Concatenate vector into string

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Sat 05 Mar 2005 - 01:02:02 EST

      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@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
>
>



R-help@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 Received on Sat Mar 05 03:48:57 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:40 EST