Hello R-helpers,

I have run the following lines of code:

x<-"cars$dist"
y<-noquote(x)


Now y is a string containing the characters "cars$dist"

My question....is there an R function (or combination of functions) that I
can apply to y that will cause y to contain the numbers in cars$dist? Even
better, can I do it without using noquote()?

Many thanks,

Mark Na

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to