Hello,

Inside the function try

dots <- list(...)


Hope this helps,

Rui Barradas

Em 09-02-2014 12:14, Robert Latest escreveu:
Hello all,

To set options in a package I'm putting together I'd like to write a
function like options, that is:

my.options <- function(...) {
# ...
}

Now I'd like to access the named arguments that were passed to my
funtion within that function. How does that work? formals() doesn't do
it, neither does args() or alist().

How is that done?

Thanks,
robert

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to