[R] string into command

2007-03-28 Thread Brian Dolan
Hello, I would like to take the string mylist = list(a = 5, b = 7) and evaluate it as a list. I have attempted to use parse and several other functions with no success. Thanks for your time. -brian dolan ~~~ may all your sequences converge [[alternative HTML version deleted]]

Re: [R] string into command

2007-03-28 Thread Benilton Carvalho
cmd = mylist = list(a = 5, b = 7) (eval(parse(text=cmd))) b On Mar 28, 2007, at 11:38 AM, Brian Dolan wrote: Hello, I would like to take the string mylist = list(a = 5, b = 7) and evaluate it as a list. I have attempted to use parse and several other functions with no success.

Re: [R] string into command

2007-03-28 Thread Marc Schwartz
On Wed, 2007-03-28 at 08:38 -0700, Brian Dolan wrote: Hello, I would like to take the string mylist = list(a = 5, b = 7) and evaluate it as a list. I have attempted to use parse and several other functions with no success. Thanks for your time. Not sure what combinations you may