| jobRunScript {rstudioapi} | R Documentation |
Run R Script As Background Job
Description
Starts an R script as a background job.
Usage
jobRunScript(
path,
name = NULL,
encoding = "unknown",
workingDir = NULL,
importEnv = FALSE,
exportEnv = ""
)
Arguments
path |
The path to the R script to be run. |
name |
A name for the background job. When |
encoding |
The text encoding of the script, if known. |
workingDir |
The working directory in which to run the job. When
|
importEnv |
Whether to import the global environment into the job. |
exportEnv |
The name of the environment in which to export the R
objects created by the job. Use |
See Also
Other jobs:
jobAdd(),
jobAddOutput(),
jobAddProgress(),
jobGetState(),
jobList(),
jobRemove(),
jobSetProgress(),
jobSetState(),
jobSetStatus()