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

getJobInfo

Get computational information of jobs.


Description

Returns time stamps (submitted, started, done, error), time running, approximate memory usage (in Mb), error messages (shortened, see showLog for detailed error messages), time in queue, hostname of the host the job was executed, assigned batch ID, the R PID and the seed of the job.

To estimate memory usage the sum of the last column of gc is used.

Column “time.running” displays the time until either the job was done, or an error occured; it will by NA in case of time outs or hard R crashes.

Usage

getJobInfo(reg, ids, pars = FALSE, prefix.pars = FALSE, select,
  unit = "seconds")

Arguments

reg

[Registry]
Registry.

ids

[integer]
Ids of jobs. Default is all jobs.

pars

[logical(1)]
Include job parameters in the output? Default is FALSE.

prefix.pars

[logical(1)]
Should a prefix be added to job parameter names (column names) to avoid name clashes? Default is FALSE.

select

[character]
Select only a subset of columns. Usually this is not required and you can subset yourself, but in some rare cases it may be advantageous to not query all information. Note that the column “id” (job id) is always selected. If not provided, all columns are queried and returned.

unit

[character(1)]
Unit to convert execution and queing times to. Possible values: “seconds”, “minutes”, “hours”, “days” and “weeks”. Default is “seconds”.

Value

[data.frame].

See Also


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.