R/execJob.R
execJob.Rd
Executes a single job (as created by makeJob) and returns its result. Also works for Experiments.
makeJob
execJob(job)
[Job | Experiment] Job/Experiment to execute.
Job
Experiment
Result of the job.
batchtools:::example_push_temp(1) tmp = makeRegistry(file.dir = NA, make.default = FALSE) #> No readable configuration file found#> Created registry in '/tmp/batchtools-example/reg' using cluster functions 'Interactive'batchMap(identity, 1:2, reg = tmp) #> Adding 2 jobs ...job = makeJob(1, reg = tmp) execJob(job) #> ### [bt]: Setting seed to 12825 ...#> [1] 1