rcmd_bg {callr} | R Documentation |
The child process is started in the background, and the function return immediately.
rcmd_bg(cmd, cmdargs = character(), libpath = .libPaths(), stdout = "|", stderr = "|", repos = c(getOption("repos"), c(CRAN = "https://cloud.r-project.org")), system_profile = FALSE, user_profile = FALSE, env = rcmd_safe_env(), wd = ".", supervise = FALSE)
cmd |
Command to run. See |
cmdargs |
Command line arguments. |
libpath |
The library path. |
stdout |
Optionally a file name to send the standard output to. |
stderr |
Optionally a file name to send the standard error to. |
repos |
The repos option. If |
system_profile |
Whether to use the system profile file. |
user_profile |
Whether to use the user's profile file. |
env |
Environment variables to set for the child process. |
wd |
Working directory to use for running the command. Defaults to the current working directory. |
supervise |
Whether to register the process with a supervisor. If |
It returns a process object.
Other R CMD commands: rcmd_copycat
,
rcmd