Description Usage Arguments Details Value
View source: R/batchjobs_custom.R
A conf BatchJobs future sources one or more BatchJobs configuration files (R source scripts) to define the BatchJobs configuration environment, e.g. ‘.BatchJobs.R’.
1 2 3 4 5 6 7 8 9 10 11 12 13 | batchjobs_custom(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
conf = NULL,
pathname = NULL,
workers = Inf,
resources = list(),
job.delay = FALSE,
...
)
|
expr |
The R expression to be evaluated |
envir |
The environment in which global environment should be located. |
substitute |
Controls whether |
globals |
(optional) a logical, a character vector, a named list, or a Globals object. If TRUE, globals are identified by code inspection based on |
label |
(optional) Label of the future (where applicable, becomes the job name for most job schedulers). |
conf |
A BatchJobs configuration environment. |
pathname |
(alternative) Pathname to one or more BatchJobs configuration files to be loaded in order. If NULL, then the BatchJobs package will search for such configuration files. |
workers |
(optional) Additional specification for the backend workers. If NULL, the default is used. |
resources |
A named list passed to the BatchJobs template (available as variable |
job.delay |
(optional) Passed as is to |
... |
Additional arguments passed to |
If conf
is NULL (default), then the BatchJobs configuration will
be created from a set of BatchJobs configuration files (R script files)
as given by argument pathname
. If none are specified (default),
then BatchJobs is designed to use (in order) all of following
configuration files (if they exist):
system("etc", "BatchJobs_global_config.R", package="BatchJobs")
~/.BatchJobs.R
(in user's home directory)
.BatchJobs.R
(in the current directory)
An object of class BatchJobsFuture
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.