Dear R users,

I'd like to evaluate a vector of characters. For example, say I have a data 
frame called Data including the field names x1, x2, x3, and I'd like to a list 
out of paste("Data$x", 1:3, sep=""). How can I get list to evaluate 
paste("Data$x", 1:3, sep="") as an R object rather than a string?

Thanks in advance for you assistance.
Gregory

       
---------------------------------

        [[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