Re: [R] call object from character?

2012-04-19 Thread chuck.01
I figured as much. Thank you greatly. plangfelder wrote On Wed, Apr 18, 2012 at 7:25 PM, chuck.01 lt;CharlieTheBrown77@gt; wrote: Let say I have an object (I hope my terminology is correct) a a - 12 a [1] 12 And a has been assigned the number 12, or whatever And lets say I have a

Re: [R] call object from character?

2012-04-19 Thread Greg Snow
Almost always when people ask this question (it and its answer are FAQ 7.21) it is because they want to do things the wrong way (just don't know there is a better way). The better way is to put the variables that you want to access in this way into a list, then you can easily access the objects

[R] call object from character?

2012-04-18 Thread chuck.01
Let say I have an object (I hope my terminology is correct) a a - 12 a [1] 12 And a has been assigned the number 12, or whatever And lets say I have a character call_A call_A - a call_A [1] a What is the function F that allows this to happen: F( call_A ) [1] 12 -- View this message in

Re: [R] call object from character?

2012-04-18 Thread Peter Langfelder
On Wed, Apr 18, 2012 at 7:25 PM, chuck.01 charliethebrow...@gmail.com wrote: Let say I have an object (I hope my terminology is correct) a a - 12 a [1] 12 And a has been assigned the number 12, or whatever And lets say I have a character call_A call_A - a call_A [1] a What is the

Re: [R] call object from character?

2012-04-18 Thread Jorge I Velez
Perhaps the following? get(call_A) See ?get for more details. HTH, Jorge.- On Wed, Apr 18, 2012 at 10:25 PM, chuck.01 wrote: Let say I have an object (I hope my terminology is correct) a a - 12 a [1] 12 And a has been assigned the number 12, or whatever And lets say I have a