[R] simple question
Martin Henry H. Stevens
hstevens at rci.rutgers.edu
Tue May 1 18:59:21 CEST 2001
How does one turn a character string back into an object?
I would like to take character strings and use them as objects, a process
that I think is the reverse of deparse( substitute(X)).
E.g., I would like to get the variable names from the fourth object listed
names(objects()), but of course that doesn't work.
Dr. M. Henry H. Stevens
Department of Ecology, Evolution, & Natural Resources
14 College Farm Road
Cook College, Rutgers University
New Brunswick, NJ 08901-8551
email: hstevens at rci.rutgers.edu
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help