Learn R Programming

batchtools (version 0.9.0)

loadResult: Load the Result of a Single Job

Description

A function to simply load the result of a single job.

Usage

loadResult(id, missing.val, reg = getDefaultRegistry())

Arguments

id
[integer(1) or data.table] Single integer to specify the job or a data.table with column job.id and exactly one row.
missing.val
[ANY] Value to impute if the result file is missing (if not provided and a result file is not found, an exception is raised).
reg
[Registry] Registry. If not explicitly passed, uses the default registry (see setDefaultRegistry).

Value

[ANY]. The saved result or missing.val if result file is not found.

See Also

Other Results: batchMapResults, reduceResultsList, reduceResults