R/sourcing.R
rscript.Rd
Implements Rscript with system2
Rscript
system2
rscript(x, ops = NULL, args = NULL, ...)
An R file to run
A character vector of options ("--" is added to each)
"--"
A character vector of other arguments to pass
Additional arguments passed to system2
A character vector of the result from calling Rscript via system2()
character
system2()
source_to_env