future.batchtools: Parallel Future Backend for HPC Schedulers using 'batchtools'

Implementation of the Future API <doi:10.32614/RJ-2021-048> on top of the 'batchtools' package. The backend is fully compliant with the Future API, as validated by the 'future.tests' conformance test suite, meaning that code using futures gives identical results and behaves the same regardless of which future backend is used. Futures are resolved on the local machine, on an ad-hoc cluster of machines, or via job schedulers on high-performance compute ('HPC') clusters, such as 'Slurm', 'SGE', 'LSF', 'OpenLava', and 'TORQUE' / 'PBS'. A common use is to parallelize existing map-reduce calls via the 'futurize' package <doi:10.48550/arXiv.2601.17578>, e.g. 'plan(future.batchtools::batchtools_slurm)' followed by 'lapply(xs, fcn) |> futurize()' or 'purrr::map(xs, fcn) |> futurize()'.

Getting started

Package details

AuthorHenrik Bengtsson [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-7579-5165>), Michel Lang [ctb, cph] (Code adapted from the 'batchtools' package, ORCID: <https://orcid.org/0000-0001-9754-0393>), Bernd Bischl [ctb, cph] (Code adapted from the 'batchtools' package, ORCID: <https://orcid.org/0000-0001-6002-6980>)
MaintainerHenrik Bengtsson <henrikb@braju.com>
LicenseLGPL (>= 3)
Version0.32.0
URL https://future.batchtools.futureverse.org  https://github.com/futureverse/future.batchtools 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("future.batchtools")

Try the future.batchtools package in your browser

Any scripts or data that you put into this service are public.

future.batchtools documentation built on Nov. 23, 2026, 1:07 a.m.