Re: [R] Concatenate vector into string

From: Tim Cutts <tjrc_at_sanger.ac.uk>
Date: Sat 05 Mar 2005 - 01:10:09 EST

On 4 Mar 2005, at 11:32 am, Matthieu Cornec wrote:

> Hello,
>
> I would like to convert c("a","b","c") into "abc".
> Anyone could help?

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

Tim

-- 
Dr Tim Cutts
Informatics Systems Group, Wellcome Trust Sanger Institute
GPG: 1024D/E3134233 FE3D 6C73 BBD6 726A A3F5  860B 3CDD 3F56 E313 4233

______________________________________________
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:44:56 2005

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