[R] How do I paste double quotes arround a character string?

Philip James Smith philipsmith at alumni.albany.edu
Thu Jul 3 03:25:55 CEST 2008


Hi R Community:

I've got a character string that looks like: New Mexico

How to I create the new character string that looks like: "New Mexico" 
That is, it is the original string (New Mexico)  with double quotes 
infront and behind it?

Thanks,
Phil Smith



More information about the R-help mailing list