Description Usage Arguments Value Author(s) See Also Examples
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:
--root=<path>
or --root <path>
specifies the
root path of the batch directory.
--reset
specifies if each job should be reset before
it is started.
--sink
specifies if each job output should be sinked
to file.
--details
specifies if extra information should be
printed to the standard output.
--maxJobs
specifies the maximum number of jobs
this batch dispatcher should process before quiting.
If -1
, it runs until no more jobs are found.
If Inf
, it runs forever until being interrupted.
--sleepTime
specifies the number of seconds for R
to sleep before checking for new jobs, when no more jobs are
available. Only effective if --maxJobs=Inf
.
--clean
specifies if all job specific created in the
output path should be moved to the job path when job is done.
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
.
1 |
root |
A |
reset |
A |
sink |
A |
details |
A |
maxJobs |
A |
sleepTime |
A |
clean |
If |
... |
Not used. |
Returns (invisibly) the Job
object processed, otherwise NULL
.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see JobBatch
.
1 2 3 4 | ## Not run:
RJobBatch --details --root=jobs-mandelbrot
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.