Re: [R] Concatenate vector into string

From: Witold Eryk Wolski <W.E.Wolski_at_ncl.ac.uk>
Date: Sat 05 Mar 2005 - 00:52:08 EST

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

paste( c("a","b","c"),collapse="")

Eryk

-- 
Witold Eryk Wolski
__("<  School of Mathematics and Statistics     _
\__/   University of Newcastle                 'v'
 ||    Newcastle upon Tyne, NE1 7RU, ENGLAND  /   \
 ^^    mail: witek96@users.sourceforge.net     m m
       Phone : 044 (0)191 222 5376
       FAX   : 044 (0)191 222 8020

______________________________________________
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:20:40 2005

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