Skip to content
Prev 257259 / 398506 Next

How to remove the double or single quote from a string (unquote?)?

This should be a FAQ: you are confusing the value with its printed 
representation.  Try

print(paste("V", 3:8, sep=""), quote=FALSE)

to see that there are no quotes, and you may want to read up on 
help("as.formula", package="stats") which has the examples you are 
searching for.

Allan
On 18/04/11 17:38, JingJiang Yan wrote: