[R] referencing values of strings

Seth Falcon sfalcon at fhcrc.org
Wed Nov 17 18:01:22 CET 2004


On Wed, Nov 17, 2004 at 10:48:46AM -0500, Apoian, Zack wrote:
> Say you have a vector named x and a function which returns the character
> string "x" .  How would I take "x" as an input and return the vector x?

get("x")

See ?get.  You may also be interested in ?assign.

+ seth




More information about the R-help mailing list