Re: [R] Passing expression as argument to do.call

2009-07-02 Thread Sebastien . Bihorel
Damned, I did tried as.list but not list... Thanks Hadley and Duncan for your quick replies > On Thu, Jul 2, 2009 at 3:34 PM, Sebastien > Bihorel wrote: >> Dear R-users, >> >> I would like to know how expressions could be passed as arguments to >> do.call >> functions. As illustrated in the short

Re: [R] Passing expression as argument to do.call

2009-07-02 Thread hadley wickham
On Thu, Jul 2, 2009 at 3:34 PM, Sebastien Bihorel wrote: > Dear R-users, > > I would like to know how expressions could be passed as arguments to do.call > functions. As illustrated in the short example below, concatenating lists > objects and an expression creates an expression object, which is no

Re: [R] Passing expression as argument to do.call

2009-07-02 Thread Duncan Murdoch
On 7/2/2009 4:34 PM, Sebastien Bihorel wrote: Dear R-users, I would like to know how expressions could be passed as arguments to do.call functions. As illustrated in the short example below, concatenating lists objects and an expression creates an expression object, which is not an acceptable

[R] Passing expression as argument to do.call

2009-07-02 Thread Sebastien Bihorel
Dear R-users, I would like to know how expressions could be passed as arguments to do.call functions. As illustrated in the short example below, concatenating lists objects and an expression creates an expression object, which is not an acceptable argument for do.call. Is there a way to avoid