External Rscript process
An Rscript script.R command that runs in the background. This is an
R6 class that extends the processx::process class.
processx::process -> rscript_process
new()
Create a new Rscript process.
rscript_process$new(options)
optionsA list of options created via
rscript_process_options().
finalize()
Clean up after an Rsctipt process, remove
temporary files.
rscript_process$finalize()
clone()
The objects of this class are cloneable with this method.
rscript_process$clone(deep = FALSE)
deepWhether to make a deep clone.
options <- rscript_process_options(script = "script.R") rp <- rscript_process$new(options) rp$wait() rp$read_output_lines()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.