The purpose of this package is to provide a lightweight and unified Future API for sequential and parallel processing of R expression via futures. The simplest way to evaluate an expression in parallel is to use 'x %<-% { expression }' with 'plan(multisession)'. This package implements sequential, multicore, multisession, and cluster futures. With these, R expressions can be evaluated on the local machine, in parallel a set of local machines, or distributed on a mix of local and remote machines. Extensions to this package implement additional backends for processing futures via compute cluster schedulers, etc. Because of its unified API, there is no need to modify any code in order switch from sequential on the local machine to, say, distributed processing on a remote compute cluster. Another strength of this package is that global variables and functions are automatically identified and exported as needed, making it straightforward to tweak existing code to make use of futures.
Version: | 1.34.0 |
Imports: | digest, globals (≥ 0.16.1), listenv (≥ 0.8.0), parallel, parallelly (≥ 1.38.0), utils |
Suggests: | methods, RhpcBLASctl, R.rsp, markdown |
Published: | 2024-07-29 |
DOI: | 10.32614/CRAN.package.future |
Author: | Henrik Bengtsson [aut, cre, cph] |
Maintainer: | Henrik Bengtsson <henrikb at braju.com> |
BugReports: | https://github.com/HenrikBengtsson/future/issues |
License: | LGPL-2.1 | LGPL-3 [expanded from: LGPL (≥ 2.1)] |
URL: | https://future.futureverse.org, https://github.com/HenrikBengtsson/future |
NeedsCompilation: | no |
Citation: | future citation info |
Materials: | NEWS |
In views: | HighPerformanceComputing |
CRAN checks: | future results |
Package source: | future_1.34.0.tar.gz |
Windows binaries: | r-devel: future_1.34.0.zip, r-release: future_1.34.0.zip, r-oldrel: future_1.34.0.zip |
macOS binaries: | r-release (arm64): future_1.34.0.tgz, r-oldrel (arm64): future_1.34.0.tgz, r-release (x86_64): future_1.34.0.tgz, r-oldrel (x86_64): future_1.34.0.tgz |
Old sources: | future archive |
Please use the canonical form https://CRAN.R-project.org/package=future to link to this page.