Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

doJobCollection

Execute Jobs of a JobCollection


Description

Executes every job in a JobCollection. This function is intended to be called on the slave.

Usage

doJobCollection(jc, output = NULL)

Arguments

jc

[JobCollection]
Either an object of class “JobCollection” as returned by makeJobCollection or a string with the path to file containing a “JobCollection” as RDS file (as stored by submitJobs).

output

[character(1)]
Path to a file to write the output to. Defaults to NULL which means that output is written to the active sink. Do not set this if your scheduler redirects output to a log file.

Value

[character(1)]: Hash of the JobCollection executed.

See Also

Other JobCollection: makeJobCollection()

Examples

tmp = makeRegistry(file.dir = NA, make.default = FALSE)
batchMap(identity, 1:2, reg = tmp)
jc = makeJobCollection(1:2, reg = tmp)
doJobCollection(jc)

batchtools

Tools for Computation on Batch Systems

v0.9.15
LGPL-3
Authors
Michel Lang [cre, aut] (<https://orcid.org/0000-0001-9754-0393>), Bernd Bischl [aut], Dirk Surmann [ctb] (<https://orcid.org/0000-0003-0873-137X>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.