Rscript
An Rscript script.R command that runs in the background. This is an R6 class that extends the process class.
Rscript script.R
rp <- rscript_process$new(options)
options A list of options created via rscript_process_options().
options
rscript_process_options()
rscript_process$new creates a new instance. Its options argument is best created by the rscript_process_options() function.
rscript_process$new
# NOT RUN { options <- rscript_process_options(script = "script.R") rp <- rscript_process$new(options) rp$wait() rp$read_output_lines() # }
Run the code above in your browser using DataLab