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 processx::process class.
Super class
processx::process
-> rcmd_process
Methods
Public methods
Inherited methods
processx::process$as_ps_handle()
processx::process$format()
processx::process$get_cmdline()
processx::process$get_cpu_times()
processx::process$get_error_connection()
processx::process$get_error_file()
processx::process$get_exe()
processx::process$get_exit_status()
processx::process$get_input_connection()
processx::process$get_input_file()
processx::process$get_memory_info()
processx::process$get_name()
processx::process$get_output_connection()
processx::process$get_output_file()
processx::process$get_pid()
processx::process$get_poll_connection()
processx::process$get_result()
processx::process$get_start_time()
processx::process$get_status()
processx::process$get_username()
processx::process$get_wd()
processx::process$has_error_connection()
processx::process$has_input_connection()
processx::process$has_output_connection()
processx::process$has_poll_connection()
processx::process$interrupt()
processx::process$is_alive()
processx::process$is_incomplete_error()
processx::process$is_incomplete_output()
processx::process$is_supervised()
processx::process$kill()
processx::process$kill_tree()
processx::process$poll_io()
processx::process$print()
processx::process$read_all_error()
processx::process$read_all_error_lines()
processx::process$read_all_output()
processx::process$read_all_output_lines()
processx::process$read_error()
processx::process$read_error_lines()
processx::process$read_output()
processx::process$read_output_lines()
processx::process$resume()
processx::process$signal()
processx::process$supervise()
processx::process$suspend()
processx::process$wait()
processx::process$write_input()
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()
[Package callr version 3.7.6 Index]