[R] remove quotes from the paste output

Mark Difford mark_difford at yahoo.co.uk
Sun Dec 12 07:13:10 CET 2010


>> Does anybody know how to eliminate the double quotes so that I can use
>> the 
>> variable name (generated with the paste function) further in the code...

?noquote should do it.

> "varName"
[1] "varName"
> noquote("varName")
[1] varName

Regards, Mark.
View this message in context: http://r.789695.n4.nabble.com/remove-quotes-from-the-paste-output-tp3083692p3084037.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list