findJobs: Finds ids of jobs that match a query.

Description Usage Arguments Value Examples

Description

Finds ids of jobs that match a query.

Usage

1
findJobs(reg, ids, pars, jobnames)

Arguments

reg

[Registry]
Registry.

ids

[integer]
Subset of job ids to restrict the result to. Default is all jobs.

pars

[R expression]
All jobs whose parameters match the given expression are selected. This implies that you have named the parameters when you passed the vectors. If you forgot to do this you can use .arg1, .arg2, etc., to refer to the the unnamed ones.

jobnames

[character]
Restrict to jobs with stored names. Exact matching is used.

Value

[integer]. Ids for jobs which match the query.

Examples

1
2
3
4
reg = makeRegistry(id = "BatchJobsExample", file.dir = tempfile(), seed = 123)
f = function(x, y) x * y
batchExpandGrid(reg, f, x = 1:2, y = 1:3)
findJobs(reg, pars = (y > 2))

BatchJobs documentation built on May 15, 2019, 1:05 a.m.