Starts an R script as a background job.
jobRunScript(
path,
name = NULL,
encoding = "unknown",
workingDir = NULL,
importEnv = FALSE,
exportEnv = ""
)
The path to the R script to be run.
A name for the background job. When NULL
(the default),
the filename of the script is used as the job name.
The text encoding of the script, if known.
The working directory in which to run the job. When
NULL
(the default), the parent directory of the R script is used.
Whether to import the global environment into the job.
The name of the environment in which to export the R
objects created by the job. Use ""
(the default) to skip export,
"R_GlobalEnv"
` to export to the global environment, or the name of an
environment object to create an object with that name.
Other jobs: jobAddOutput()
,
jobAddProgress()
, jobAdd()
,
jobRemove()
, jobSetProgress()
,
jobSetState()
, jobSetStatus()