Re: [Rd] on the usage of do.call

2010-11-03 Thread Christophe Dutang
Thank you for help. So I will look for another implementation not involving do_docall. Actually, I want to pass a function and a list of arguments as argument. The example lapply2 in section 5.11 is what I would like to do. Christophe 2010/11/2 Duncan Murdoch > On 02/11/2010 11:28 AM, Christ

Re: [Rd] on the usage of do.call

2010-11-02 Thread Duncan Murdoch
On 02/11/2010 11:28 AM, Christophe Dutang wrote: Hello all, I don't know if it is possible, but I would like to use do.call in C code in my package. The function do.call is defined as > do.call function (what, args, quote = FALSE, envir = parent.frame()) { if (!is.list(args)) stop

Re: [Rd] on the usage of do.call

2010-11-02 Thread Matt Shotwell
On Tue, 2010-11-02 at 11:28 -0400, Christophe Dutang wrote: > Hello all, > > I don't know if it is possible, but I would like to use do.call in C code in > my package. The function do.call is defined as > > do.call > function (what, args, quote = FALSE, envir = parent.frame()) > { > if (!is.li