You can then submit these jobs to the batch system.
batchMap(reg, fun, ..., more.args = list(), use.names = FALSE)
Empty Registry that will store jobs for the mapping.
Function to map over ....
Arguments to vectorize over (list or vector).
A list of other arguments passed to fun.
Default is empty list.
Store parameter names to enable named results in loadResults and some other functions.
Default is FALSE.
Vector of type integer with job ids.
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123)
f = function(x) x^2
batchMap(reg, f, 1:10)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.