[R] how to string characters?
John Fox
jfox at mcmaster.ca
Thu Jun 12 12:33:19 CEST 2003
In-R va.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Dear Ulrich,
At 09:27 PM 6/11/2003 +0200, Ulrich Leopold wrote:
>How can I string character variables?
>
>for example:
>a<- "str"
>b<- "ing"
>
>and i want c to be "string"
>how do I do that?
paste(a, b, sep="") will do what you want.
John
-----------------------------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada L8S 4M4
email: jfox at mcmaster.ca
phone: 905-525-9140x23604
web: www.socsci.mcmaster.ca/jfox
More information about the R-help
mailing list