[R] check if a certain ... argument has been passed on to my user-defined function

Mark Heckmann mark.heckmann at gmx.de
Thu Dec 11 19:22:11 CET 2008


Hi,

How can I check if a certain ... argument has been passed on to my
user-defined function or not?

foo <- function(data, ...)
{
### here I want to check whether xlab was passed with the ... arguments
### or if the ... arguments did not contain an xlab argument
}

I tried  missing(xlab)  , exists(xlab) and several other things but did not
find a solution.

TIA,
Mark



More information about the R-help mailing list