Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

findJobs

Finds ids of jobs that match a query.


Description

Finds ids of jobs that match a query.

Usage

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

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

Batch Computing with R

v1.8
BSD_2_clause + file LICENSE
Authors
Bernd Bischl <bernd_bischl@gmx.net>, Michel Lang <michellang@gmail.com>, Henrik Bengtsson <henrikb@braju.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.