doCall {R.utils} | R Documentation |
Executes a function call with option to ignore unused arguments
Description
Executes a function call with option to ignore unused arguments.
Usage
## Default S3 method:
doCall(.fcn, ..., args=NULL, alwaysArgs=NULL, .functions=list(.fcn),
.ignoreUnusedArgs=TRUE, envir=parent.frame())
Arguments
.fcn |
A |
... |
Named arguments to be passed to the function. |
args |
A |
alwaysArgs |
A |
.functions |
A |
.ignoreUnusedArgs |
If |
envir |
An |
Author(s)
Henrik Bengtsson
See Also
do.call
().
Examples
doCall("plot", x=1:10, y=sin(1:10), col="red", dummyArg=54,
alwaysArgs=list(xlab="x", ylab="y"),
.functions=c("plot", "plot.xy"))
[Package R.utils version 2.12.3 Index]