Map a string to an object
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)?
Thanks.
FS
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)?
Thanks.
FS