main.JobBatch: Static method to be called from the command line

Description Usage Arguments Value Author(s) See Also Examples

Description

Static method to be called from the command line. When called, this method will process one available job and return.

The following R command line options are recognized:

To avoid warning about unknown options when R, add these options at end after --args. See example below.

To run this from the command line, see 1. Useful scripts.

Usage

1
JobBatch$main(root="jobs", reset=FALSE, sink=TRUE, details=FALSE, maxJobs=1, sleepTime=15, clean=FALSE, ...)

Arguments

root

A character string specifying the default value for the command line option --root.

reset

A logical value specifying the default value for the command line option --reset.

sink

A logical value specifying the default value for the command line option --sink.

details

A logical value specifying the default value for the command line option --details.

maxJobs

A integer (or the double Inf) value specifying the default value for the command line option --maxJobs.

sleepTime

A double value specifying the default value for the command line option --sleepTime.

clean

If TRUE, job specific files in the output path are moved to the job path after job is finished.

...

Not used.

Value

Returns (invisibly) the Job object processed, otherwise NULL.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see JobBatch.

Examples

1
2
3
4
## Not run: 
  RJobBatch --details --root=jobs-mandelbrot

## End(Not run)

R.batch documentation built on May 2, 2019, 4:58 p.m.