| Rscript | R Documentation |
Rscript and R CMDWrapper functions to run the commands Rscript and R CMD.
Rscript(args, ...)
Rcmd(args, ...)
args |
A character vector of command-line arguments. |
... |
Other arguments to be passed to |
A value returned by system2().
library(xfun)
Rscript(c("-e", "1+1"))
Rcmd(c("build", "--help"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.