[R] Map a string to an object

Seth Falcon sfalcon at fhcrc.org
Thu Apr 14 02:03:34 CEST 2005


Fernando Saldanha <fsaldan1 at gmail.com> writes:

> Is there a way in R to get an object whose name is given by a string?
>
> That is, like a function getObject(mystring) such that
>
> getObject('astring') 
>
> returns the object astring (assuming it exists)?

?get




More information about the R-help mailing list