jobRunScript

0th

Percentile

Run R Script As Job

Starts an R script as a background job.

Usage
jobRunScript(path, encoding = "unknown", workingDir = NULL,
  importEnv = FALSE, exportEnv = "")
Arguments
path

The path to the R script to be run.

encoding

The text encoding of the script, if known.

workingDir

The working directory in which to run the job. When NULL (the default), the parent directory of the R script is used.

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 "" (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.

See Also

Other jobs: jobAddOutput, jobAddProgress, jobAdd, jobRemove, jobSetProgress, jobSetState, jobSetStatus

Aliases
  • jobRunScript
Documentation reproduced from package rstudioapi, version 0.9.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.