Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina GrĂ¼n, Edzer Pebesma & Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Passing in Command Line Arguments and Parallel Cluster/Multicore Batching in R with batch | Hoffmann | Journal of Statistical Software
Authors: Thomas J. Hoffmann
Title: Passing in Command Line Arguments and Parallel Cluster/Multicore Batching in R with batch
Abstract: It is often useful to rerun a command line R script with some slight change in the parameters used to run it - a new set of parameters for a simulation, a different dataset to process, etc. The R package batch provides a means to pass in multiple command line options, including vectors of values in the usual R format, easily into R. The same script can be setup to run things in parallel via different command line arguments. The R package batch also provides a means to simplify this parallel batching by allowing one to use R and an R-like syntax for arguments to spread a script across a cluster or local multicore/multiprocessor computer, with automated syntax for several popular cluster types. Finally it provides a means to aggregate the results together of multiple processes run on a cluster.

Page views:: 7324. Submitted: 2009-12-16. Published: 2011-03-01.
Paper: Passing in Command Line Arguments and Parallel Cluster/Multicore Batching in R with batch     Download PDF (Downloads: 7377)
Supplements:
batch_1.1-2.tar.gz: R source package Download (Downloads: 1032; 8KB)
v39c01.zip: Example R scripts Download (Downloads: 1040; 2KB)

DOI: 10.18637/jss.v039.c01

by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.