batchtools (version 0.9.11)

execJob: Execute a Single Jobs

Description

Executes a single job (as created by makeJob) and returns its result. Also works for Experiments.

Usage

execJob(job)

Arguments

job

[Job | Experiment] Job/Experiment to execute.

Value

Result of the job.

Examples

Run this code
# NOT RUN {
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
batchMap(identity, 1:2, reg = tmp)
job = makeJob(1, reg = tmp)
execJob(job)
# }

Run the code above in your browser using DataLab