rscript_process

0th

Percentile

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

Aliases
  • rscript_process
Examples
# NOT RUN {
options <- rscript_process_options(script = "script.R")
rp <- rscript_process$new(options)
rp$wait()
rp$read_output_lines()
# }
Documentation reproduced from package callr, version 3.3.2, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.