batchMap: Maps a function over lists or vectors, adding jobs to a...
| batchMap | R Documentation |
Description
You can then submit these jobs to the batch system.
Usage
batchMap(reg, fun, ..., more.args = list(), use.names = FALSE)
Arguments
reg |
[ |
fun |
[ |
... |
[any] |
more.args |
[ |
use.names |
[ |
Value
Vector of type integer with job ids.
Examples
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123)
f = function(x) x^2
batchMap(reg, f, 1:10)
print(reg)
BatchJobs documentation built on Sept. 10, 2025, 5:08 p.m.