rcmd_process: External R CMD Process

Description Usage Arguments Details Examples

Description

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

Usage

1

Arguments

Details

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

Examples

1
2
3
4
5
6
7
## Not run: 
options <- rcmd_process_options(cmd = "config", cmdargs = "CC")
rp <- rcmd_process$new(options)
rp$wait()
rp$read_output_lines()

## End(Not run)

r-pkgs/callr documentation built on Dec. 13, 2018, 12:21 p.m.