cmdArgsCall

0th

Percentile

Calls an R function passing command-line arguments

Calls an R function passing command-line arguments.

Keywords
internal, programming
Usage
cmdArgsCall(..., args=cmdArgs(unique = FALSE), .ignoreUnusedArgs=FALSE,
  envir=parent.frame())
Arguments
...
Arguments passed to doCall(), including the function to be called.
args
A list of arguments to be passed to the function being called.
.ignoreUnusedArgs
Passed to doCall().
envir
An environment in which to evaluate the call.
Value

  • Returns whatever the called function returns.

See Also

Internally, cmdArgs() and doCall() is used.

Aliases
  • cmdArgsCall
Examples
Rscript -e R.utils::cmdArgsCall(rnorm) n=4
Documentation reproduced from package R.utils, version 1.32.4, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.