R.batch-package: Package R.batch

Description Installation To get started How to cite this package License Author(s)

Description

The package provides methods to batch run R scripts in a straightforward manner. A job batch is defined by a root directory containing subdirectories todo/, running/, finished/, failed/, src/ among others. A job to be processed is a directory placed in todo/. A job is processed by moving it to running/, then sourcing the R files in src/ (containing common code) and then the ones in the job directory (contain job specific code), in which a function onRun() has to be defined, which is then called. Succesfully jobs end up in finished/ whereas failed jobs in failed/.

This package should be considered to be in "beta" version.

Installation

To install this package, see https://r-forge.r-project.org/R/?group_id=428. Required packages are installed from CRAN.

To get started

To get started, see:

  1. JobBatch.

  2. JobBatch$main() - to start a job from the command line.

How to cite this package

To cite this package, please use:

1
2
3
4
5
6
7
@Manual{,
  title = {R.batch: Methods to run batch jobs in R},
  author = {Henrik Bengtsson},
  year = {2012},
  note = {R package version 0.6.1},
  url = {http://www.braju.com/R/},
}

License

LGPL (>= 2.1).

Author(s)

Henrik Bengtsson.


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