[R] Joining Characters in R {issue with paste}

Rolf Turner r.turner at auckland.ac.nz
Wed Sep 9 23:14:00 CEST 2009


On 10/09/2009, at 9:08 AM, Abhishek Pratap wrote:

> Hi Guys
> I am want to join to strings in R. I am using paste but not getting
> desirable result.
>
> For the sake of clarity, a quick example:
>
>> a="Bio"
>> b="iology"
>> paste(a,b)
> [1] "Bio iology"
>
>
> *There is a SPACE in the word biology which is what I dont want *

(1) RTFM

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

	cheers,

		Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}




More information about the R-help mailing list