From deepayansarkar@yahoo.com  Mon Jul  9 20:36:51 2001
From: deepayansarkar@yahoo.com (Deepayan Sarkar)
Date: Mon, 9 Jul 2001 12:36:51 -0700 (PDT)
Subject: [Rd] The ... argument
In-Reply-To: <3B4A00C1.559953AE@research.bell-labs.com>
Message-ID: <20010709193651.19049.qmail@web13904.mail.yahoo.com>


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] The ... argument
Deepayan Sarkar