rscript_process
From callr v3.2.0
by Gabor Csardi
External Rscript process
An Rscript script.R
command that runs in the background. This is an
R6 class that extends the process class.
Details
rscript_process$new
creates a new instance. Its options
argument is
best created by the rscript_process_options()
function.
Usage
rp <- rscript_process$new(options)
Arguments
options
A list of options created viarscript_process_options()
.
Examples
# NOT RUN {
options <- rscript_process_options(script = "script.R")
rp <- rscript_process$new(options)
rp$wait()
rp$read_output_lines()
# }
Community examples
Looks like there are no examples yet.