parse(text=x)[[1]]

is what I wanted, thank you

Duncan Murdoch <murdoch@stats.uwo.ca> wrote: 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 this

parse(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


 __________________________________________________



	[[alternative HTML version deleted]]

