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!
Matthieu Cornec wrote:
Hello,
I would like to convert c(a,b,c) into abc.
Anyone could help?
?paste
paste(c(a,b,c), collapse=)
--
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 452-1424 (M, W, F)
fax: (917) 438-0894
Try:
paste(c(a,b,c), collapse=)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthieu Cornec
Sent: Friday, March 04, 2005 12:32
To: [EMAIL PROTECTED]
Subject: [R] Concatenate vector into string
Hello,
I would like to convert c(a,b,c) into abc
Matthieu Cornec wrote:
Hello,
I would like to convert c(a,b,c) into abc.
Anyone could help?
See ?paste
Uwe Ligges
Thanks,
Matthieu Cornec
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Use the collapse argument in paste.
paste( c(a, b, c), collapse= )
[1] abc
On Fri, 2005-03-04 at 03:32 -0800, Matthieu Cornec wrote:
Hello,
I would like to convert c(a,b,c) into abc.
Anyone could help?
Thanks,
Matthieu Cornec
__
Hi all,
ted - letters[1:3]
ted
paste(ted, collapse = )
cheers,
P.BADY
At 03:32 04/03/2005 -0800, 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
See ?paste, e.g.,
char - c(a, b, c)
paste(char, collapse=)
[1] abc
Andy
From: Matthieu Cornec
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
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!
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
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
10 matches
Mail list logo