[R] Creating a string
John Kane
jrkrideau at yahoo.ca
Mon Dec 14 23:18:23 CET 2009
?paste
a <- 1:5
paste("X",a, sep="")
--- On Mon, 12/14/09, Tom Pitt <t.pitt at hotmail.com> wrote:
> From: Tom Pitt <t.pitt at hotmail.com>
> Subject: [R] Creating a string
> To: r-help at r-project.org
> Received: Monday, December 14, 2009, 4:31 PM
>
> Hi All,
>
> Thanks for your help.
>
> I want to add a letter "x" and a number to a string like
> "x1".
>
> How do I do that?
>
> Thanks,
> Tom
> --
> View this message in context: http://n4.nabble.com/Creating-a-string-tp963915p963915.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org
> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>
__________________________________________________________________
[[elided Yahoo spam]]
More information about the R-help
mailing list