rcmd_process {callr}R Documentation

External R CMD Process

Description

An R CMD * command that runs in the background. This is an R6 class that extends the process class.

Usage

rp <- rcmd_process$new(options)

Arguments

Details

rcmd_process$new creates a new instance. Its options argument is best created by the r_process_options() function.

Examples

## Not run: 
options <- rcmd_process_options(cmd = "config", cmdargs = "CC")
rp <- rcmd_process$new(options)
rp$wait()
rp$read_output_lines()

## End(Not run)

[Package callr version 2.0.3 Index]