Implements Rscript with base::system2()
Arguments
- x
An R file to run
- ops
A character vector of options (
"--"is added to each)- args
A character vector of other arguments to pass
- ...
Additional arguments passed to
base::system2()
Value
A character vector of the result from calling Rscript via
system2()