R-Forge Logo

The jobqueue Package - a Generic Asynchronous Job Queue Implementation for R

The jobqueue package is meant to provide an easy-to-use interface that allows to queue computations for background evaluation while the calling R session remains responsive. It is based on a 1-node socket cluster from the parallel package. The package provides a way to do basic threading in R.

The main focus of the package is on an intuitive and easy-to-use interface for the job queue programming construct. As it is somewhat subjective what is actually "intuitive", feel free to post your suggestions to the jobqueue-help mailing list on the project summary page.

Typical applications include: background computation of lengthy tasks (such as data sourcing, model fitting, bootstrapping), simple/interactive parallelization (if you have 5 different jobs, move them to up to 5 different job queues), and concurrent task scheduling in more complicated R programs. Bramblecloud's cloud computing service for R uses the jobqueue package as an asynchronous wrapper for synchronous remote connections.


Enter the command install.packages("jobqueue", repos="http://R-Forge.R-project.org", type="source") into your R session.

Click here for the package's function documentation.