tmp = makeRegistry(file.dir = NA, make.default = FALSE, packages = "methods")
batchMap(identity, 1:5, reg = tmp)
# resources are usually forwared from submitJobs()
jc = makeJobCollection(1:3, resources = list(foo = "bar"), reg = tmp)
print(ls.str(jc))
Run the code above in your browser using DataLab