Displaying 1 result from an estimated 1 matches for "getfunctionarglist".
2004 Sep 14
3
Getting the argument list within a function
Is there a way of getting the argument list of a function from within
that function? For example, something like
f <- function(x, y = 3) {
fargs <- getFunctionArgList()
print(fargs) ## Should be `alist(x, y = 3)'
}
Thanks,
-roger