An R CMD * command that runs in the background. This is an R6 class that extends the process class.
R CMD *
rp <- rcmd_process$new(options)
options A list of options created via rcmd_process_options().
options
rcmd_process_options()
rcmd_process$new creates a new instance. Its options argument is best created by the rcmd_process_options() function.
rcmd_process$new
# NOT RUN { options <- rcmd_process_options(cmd = "config", cmdargs = "CC") rp <- rcmd_process$new(options) rp$wait() rp$read_output_lines() # }
Run the code above in your browser using DataCamp Workspace