Re: [Rd] as.list() for function:s

2008-10-17 Thread Martin Maechler
> "HenrikB" == Henrik Bengtsson <[EMAIL PROTECTED]> > on Thu, 16 Oct 2008 12:51:40 -0700 writes: HenrikB> Hi, a quick comment. I just notice that as.list() deals with HenrikB> function:s the old way inside the "default" function, cf. >> as.list.default HenrikB> functi

[Rd] as.list() for function:s

2008-10-16 Thread Henrik Bengtsson
Hi, a quick comment. I just notice that as.list() deals with function:s the old way inside the "default" function, cf. > as.list.default function (x, ...) { if (typeof(x) == "list") return(x) if (is.function(x)) return(c(formals(x), list(body(x .Internal(as.vector(