[R] how to string characters?

Simon Blomberg Simon.Blomberg at anu.edu.au
Thu Jun 12 01:41:45 CEST 2003


paste(a, b, sep = "")

Cheers,

Simon.

Simon Blomberg, PhD
Depression & Anxiety Consumer Research Unit
Centre for Mental Health Research
Australian National University
http://www.anu.edu.au/cmhr/
Simon.Blomberg at anu.edu.au  +61 (2) 6125 3379


> -----Original Message-----
> From: Ulrich Leopold [mailto:uleopold at science.uva.nl]
> Sent: Thursday, 12 June 2003 5:28 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] how to string characters?
> 
> 
> How can I string character variables?
> 
> for example:
> a<- "str"
> b<- "ing"
> 
> and i want c to be "string"
> how do I do that?
> 
> 
> 
> -- 
> _______________________________________________
> 
> Ulrich Leopold MSc.
> 
> Dep. Phys. Geography and Soil Science
> Inst. for Biodiversity and Ecosystem Dynamics
> Faculty of Science
> University of Amsterdam
> Nieuwe Achtergracht 166
> NL-1018 WV Amsterdam
> 
> Phone: +31-(0)20-525-7456 (7451 Sectretary)
> Fax:   +31-(0)20-525-7431
> Email: uleopold at science.uva.nl
> http://www.frw.uva.nl/soil/Welcome.html
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list