Re: [R] evaluate String

2012-03-06 Thread Lucas
PERFECT Thank you so much. Lucas. 2012/3/6 R. Michael Weylandt > eval(parse(text = STRING)) > > but you often don't need to do this. A somewhat canonical quote in the > R-world: > > If the answer is parse() you should usually rethink the question. > -- Thomas Lumley, R-help (February 2005) > >

Re: [R] evaluate String

2012-03-06 Thread R. Michael Weylandt
eval(parse(text = STRING)) but you often don't need to do this. A somewhat canonical quote in the R-world: If the answer is parse() you should usually rethink the question. -- Thomas Lumley, R-help (February 2005) Michael On Tue, Mar 6, 2012 at 10:06 AM, Lucas wrote: > Hello to everyone. > > I

Re: [R] evaluate String

2012-03-06 Thread David Winsemius
On Mar 6, 2012, at 10:24 AM, Lucas wrote: PERFECT Thank you so much. If by 'execute' you meant translate a name for a function then you should also look at do.call. -- David. Lucas. 2012/3/6 R. Michael Weylandt eval(parse(text = STRING)) but you often don't need to do this. A som