Hello, x<- "something(a+b) + c" is there any function F such that F(x) gives me the unevaluated value of x, i.e. something(a+b)+c I would appreciate any help on this thanks --------------------------------- [[alternative HTML version deleted]]
On 10/12/2006 10:03 AM, johan Faux wrote:> Hello, > > x<- "something(a+b) + c" > > is there any function F such that > > F(x) gives me the unevaluated value of x, i.e. something(a+b)+c > > I would appreciate any help on thisparse(text=x) or parse(text=x)[[1]], depending whether you want an "expression" containing that expression, or the "call" that it actually corresponds to. quote(something(a+b) + c) would get you directly to the latter. Duncan Murdoch