Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rcmd_process

External R CMD Process


Description

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

Super class

processx::process -> rcmd_process

Methods

Public methods

Inherited methods

Method new()

Start an R CMD process.

Usage
rcmd_process$new(options)
Arguments
options

A list of options created via rcmd_process_options().

Returns

A new rcmd_process object.


Method finalize()

Clean up the temporary files created for an R CMD process.

Usage
rcmd_process$finalize()

Method clone()

The objects of this class are cloneable with this method.

Usage
rcmd_process$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

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

callr

Call R from R

v3.7.0
MIT + file LICENSE
Authors
Gábor Csárdi [aut, cre, cph] (<https://orcid.org/0000-0001-7098-9676>), Winston Chang [aut], RStudio [cph, fnd], Mango Solutions [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.