On 11 Jan 2006, [EMAIL PROTECTED] wrote:

> p.s. Note that one workaround is
>
>> bar <- function(n,...) { f <- function() foo(...); 
> +                          replicate(n,f()) }

Another appears to be:

bar <- function(n, ...) {
    args <- list(...)
    replicate(n, do.call("foo", args))
}

+ seth

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to