[Rd] The ... argument
Deepayan Sarkar
deepayansarkar@yahoo.com
Mon, 9 Jul 2001 13:48:34 -0700 (PDT)
--- John Chambers <jmc@research.bell-labs.com> wrote:
> Deepayan Sarkar wrote:
> >
> > 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]))
> >
>
> Why?
>
> The way to get the _evaluated_ ... arguments is
> dotValues <- list(...)
Oops! Thanks a lot, everything works fine now.
__________________________________________________
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._