batchtools:::example_push_temp(1)
tmp = makeRegistry(file.dir = NA, make.default = FALSE)
batchMap(identity, i = 1:3, reg = tmp)
ids = findNotSubmitted(reg = tmp)
# get all jobs:
findJobs(reg = tmp)
# filter for jobs with parameter i >= 2
findJobs(i >= 2, reg = tmp)
# filter on the computational status
findSubmitted(reg = tmp)
findNotDone(reg = tmp)
# filter on tags
addJobTags(2:3, "my_tag", reg = tmp)
findTagged(tags = "my_tag", reg = tmp)
# combine filter functions using joins
# -> jobs which are not done and not tagged (using an anti-join):
ajoin(findNotDone(reg = tmp), findTagged("my_tag", reg = tmp))
Run the code above in your browser using DataLab