I would like to use a text string to get a reference to an object whose name
is the text string. I have seen people using get() for this purpose, but as
far as I can tell this returns a copy of the object, not a pointer to the
object. For instance, if I were to write

x <- get("z")
attr(x, "age") <- "fifty"

Then x would have the attribute "age" attached to it, but z would not. I
would like z to change when I change x. Does anyone have a suggestion on how
to do this? The context for this question is an application in which object
attributes are listed in an XML file, with each set of attributes having a
key which refers to the name of an object in R.

Thank you,

-- 
Abiel Reinhart
email: abielr@gmail.com
cell: 541-514-1115

	[[alternative HTML version deleted]]

