Rscript {xfun} | R Documentation |
Run the commands Rscript
and R CMD
Description
Wrapper functions to run the commands Rscript
and R CMD
.
Usage
Rscript(args, ...)
Rcmd(args, ...)
Arguments
args |
A character vector of command-line arguments. |
... |
Other arguments to be passed to |
Value
A value returned by system2()
.
Examples
library(xfun)
Rscript(c("-e", "1+1"))
Rcmd(c("build", "--help"))
[Package xfun version 0.46 Index]