Package: future 1.70.0-9014

Henrik Bengtsson

future: Unified Parallel and Distributed Processing in R for Everyone

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.

Authors:Henrik Bengtsson [aut, cre, cph]

future_1.70.0-9014.tar.gz
future_1.70.0-9014.zip(r-4.7)future_1.70.0-9014.zip(r-4.6)future_1.70.0-9014.zip(r-4.5)
future_1.70.0-9014.tgz(r-4.6-any)future_1.70.0-9014.tgz(r-4.5-any)
future_1.70.0-9014.tar.gz(r-4.7-any)future_1.70.0-9014.tar.gz(r-4.6-any)
future_1.70.0-9014.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
future/json (API)
NEWS

# Install 'future' in R:
install.packages('future', repos = c('https://ar-puuk.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/futureverse/future/issues

Pkgdown/docs site:https://future.futureverse.org

On CRAN:

Conda:

asynchronousdistributed-computingfutureshpchpc-clustersparallel-computingparallel-processingparallelizationprogrammingpromises

19.44 score 1.0k stars 1.6k packages 21k scripts 429k downloads 2 mentions 88 exports 5 dependencies

Last updated from:c08b788374. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK287
source / vignettesOK159
linux-release-x86_64OK295
macos-release-arm64OK284
macos-oldrel-arm64OK260
windows-develOK284
windows-releaseOK304
windows-oldrelOK258
wasm-releaseOK109

Exports:%->%%<-%%conditions%%globals%%label%%lazy%%packages%%plan%%seed%%stdout%%tweak%as.FutureGlobalsavailableCoresavailableWorkersbacktracecancelclusterClusterFutureBackendConnectionMisuseFutureConditionConnectionMisuseFutureErrorConnectionMisuseFutureWarningDefaultDeviceMisuseFutureConditionDefaultDeviceMisuseFutureErrorDefaultDeviceMisuseFutureWarningDeviceMisuseFutureConditionDeviceMisuseFutureErrorDeviceMisuseFutureWarningfutureFutureFUTUREfutureAssignFutureBackendfutureCallFutureCanceledErrorFutureConditionFutureDroppedErrorFutureErrorFutureGlobalsFutureInterruptErrorFutureJournalConditionFutureLaunchErrorFutureMessagefutureOfFutureResultfuturesfutureSessionInfoFutureWarninggetExpressiongetGlobalsAndPackagesGlobalEnvMisuseFutureConditionGlobalEnvMisuseFutureErrorGlobalEnvMisuseFutureWarninginterruptFuturelaunchFuturelistFuturesmakeClusterFuturemakeClusterPSOCKmandelbrotmandelbrot_tilesminifuturemulticoreMulticoreFutureBackendMultiprocessFutureMultiprocessFutureBackendmultisessionMultisessionFutureBackendnbrOfFreeWorkersnbrOfWorkersplanresetresetWorkersresolveresolvedresultRngFutureConditionRngFutureErrorRngFutureWarningrunsequentialSequentialFutureBackendsessionDetailsstopWorkerssupportsMulticoretweakUnexpectedFutureResultErrorUniprocessFuturevalidateFutureGlobalsvalue

Dependencies:codetoolsdigestglobalslistenvparallelly

A Future for R: A Comprehensive Overview

Rendered fromfuture-1-overview.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2016-02-23

A Future for R: Available Future Backends

Rendered fromfuture-2b-backend.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-01-16
Started: 2025-05-09

A Future for R: Best Practices for Package Developers

Rendered fromfuture-7-for-package-developers.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2020-11-03

A Future for R: Common Issues with Solutions

Rendered fromfuture-4-issues.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2018-07-22

A Future for R: Controlling Default Future Strategy

Rendered fromfuture-5-startup.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-01-16
Started: 2018-07-22

A Future for R: Future API Backend Specification

Rendered fromfuture-6-future-api-backend-specification.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-01-16
Started: 2020-07-09

A Future for R: Future Topologies

Rendered fromfuture-3-topologies.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2016-04-10

A Future for R: How the Future Framework is Validated

Rendered fromfuture-8-how-future-is-validated.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2020-11-03

A Future for R: Non-Exportable Objects

Rendered fromfuture-4-non-exportable-objects.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2019-05-08

A Future for R: Text and Message Output

Rendered fromfuture-2-output.md.rspusingR.rsp::rspon Jun 05 2026.

Last update: 2026-03-14
Started: 2018-07-22

Readme and manuals

Help Manual

Help pageTopics
Back trace the expressions evaluated when an error was caughtbacktrace
Cancel a futurecancel
Create a cluster future whose value will be resolved asynchronously in a parallel processcluster
Create a futurefuture futureCall minifuture
Create a future assignment%->% %<-% %conditions% %globals% %label% %lazy% %packages% %plan% %seed% %stdout% %tweak% futureAssign
Get the future of a future variablefutureOf
Get all futures in a containerfutures
Get future-specific session information and validate current backendfutureSessionInfo
Create a multicore future whose value will be resolved asynchronously in a forked parallel processmulticore MulticoreFuture
Create a multisession future whose value will be resolved asynchronously in a parallel R sessionmultisession MultisessionFuture
Get the number of workers availablenbrOfFreeWorkers nbrOfWorkers
Plan how to resolve a futureplan tweak with.FutureStrategyList
Reset a finished, failed, canceled, or interrupted future to a lazy futurereset
Resolve one or more futures synchronouslyresolve
Check whether a future is resolved or notresolved resolved.ClusterFuture resolved.default resolved.environment resolved.Future resolved.list resolved.MulticoreFuture
Create a sequential future whose value will be in the current R sessionsequential uniprocess
The value of a future or the values of all elements in a containervalue value.environment value.Future value.list value.listenv
Options used for futures.future.R future.ClusterFuture.clusterEvalQ future.cmdargs future.connections.onMisuse future.debug future.defaultDevice.onMisuse future.demo.mandelbrot.nrow future.demo.mandelbrot.region future.devices.onMisuse future.fork.multithreading.enable future.globalenv.onMisuse future.globals.maxSize future.globals.method future.globals.objectSize.method future.globals.onMissing future.globals.onReference future.globals.resolve future.journal future.onFutureCondition.keepFuture future.options future.output.windows.reencode future.plan future.resolve.recursive future.rng.onMisuse future.startup.script future.wait.alpha future.wait.interval future.wait.timeout R_FUTURE_CLUSTERFUTURE_CLUSTEREVALQ R_FUTURE_CONNECTIONS_ONMISUSE R_FUTURE_DEBUG R_FUTURE_DEFAULTDEVICE_ONMISUSE R_FUTURE_DEMO_MANDELBROT_NROW R_FUTURE_DEMO_MANDELBROT_REGION R_FUTURE_DEVICES_ONMISUSE R_FUTURE_FORK_MULTITHREADING_ENABLE R_FUTURE_GLOBALENV_ONMISUSE R_FUTURE_GLOBALS_MAXSIZE R_FUTURE_GLOBALS_METHOD R_FUTURE_GLOBALS_OBJECTSIZE_METHOD R_FUTURE_GLOBALS_ONMISSING R_FUTURE_GLOBALS_ONREFERENCE R_FUTURE_GLOBALS_RESOLVE R_FUTURE_JOURNAL R_FUTURE_ONFUTURECONDITION_KEEPFUTURE R_FUTURE_OUTPUT_WINDOWS_REENCODE R_FUTURE_PLAN R_FUTURE_RESOLVED_TIMEOUT R_FUTURE_RESOLVE_RECURSIVE R_FUTURE_RNG_ONMISUSE R_FUTURE_STARTUP_SCRIPT R_FUTURE_WAIT_ALPHA R_FUTURE_WAIT_INTERVAL R_FUTURE_WAIT_TIMEOUT zzz-future.options