[Rd] The ... argument

Deepayan Sarkar deepayansarkar@yahoo.com
Mon, 9 Jul 2001 12:36:51 -0700 (PDT)


I think my earlier example didn't fully represent my
problem. I'm trying to evaluate the arguments passed
in via ... by:

foo1 <- function(...) {
    eval(as.list(match.call()[-1]))
}

foo2 <- function(...) foo1(...)

So now,

> foo1(a=F)          
$a
F

> foo2(a=F)
$a
..1




__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._