future1.67.0 package

Unified Parallel and Distributed Processing in R for Everyone

backtrace

Back trace the expressions evaluated when an error was caught

cancel

Cancel a future

cluster

Create a cluster future whose value will be resolved asynchronously in...

clusterExportSticky

Export globals to the sticky-globals environment of the cluster nodes

find_references

Get the first or all references of an object

Future-class

A future represents a value that will be available at some point in th...

future

Create a future

futureAssign

Create a future assignment

FutureBackend

Configure a backend that controls how and where futures are evaluated

FutureCondition

A condition (message, warning, or error) that occurred while orchestra...

FutureGlobals

A representation of a set of globals used with futures

futureOf

Get the future of a future variable

FutureResult

Results from resolving a future

futures

Get all futures in a container

futureSessionInfo

Get future-specific session information and validate current backend

getExpression

Inject code for the next type of future to use for nested futures

getGlobalsAndPackages

Retrieves global variables of an expression and their associated packa...

makeClusterFuture

Create a Future Cluster of Stateless Workers for Parallel Processing

mandelbrot

Mandelbrot convergence counts

multicore

Create a multicore future whose value will be resolved asynchronously ...

MulticoreFuture-class

A multicore future is a future whose value will be resolved asynchrono...

MultiprocessFuture-class

A multiprocess future is a future whose value will be resolved asynchr...

multisession

Create a multisession future whose value will be resolved asynchronous...

nbrOfWorkers

Get the number of workers available

nullcon

Creates a connection to the system null device

plan

Evaluate an expression using a temporarily set future plan

private_length

Gets the length of an object without dispatching

re-exports

Functions Moved to 'parallelly'

readImmediateConditions

Writes and Reads 'immediateCondition' RDS Files

requestCore

Request a core for multicore processing

reset

Reset a finished, failed, canceled, or interrupted future to a lazy fu...

resetWorkers

Free up active background workers

resolve

Resolve one or more futures synchronously

resolved

Check whether a future is resolved or not

result

Get the results of a resolved future

run

Run a future

save_rds

Robustly Saves an Object to RDS File Atomically

sequential

Create a sequential future whose value will be in the current session

sessionDetails

Outputs details on the current session

signalConditions

Signals Captured Conditions

sticky_globals

Place a sticky-globals environment immediately after the global enviro...

UniprocessFuture-class

An uniprocess future is a future whose value will be resolved synchron...

usedCores

Get number of cores currently used

value

The value of a future or the values of all elements in a container

zzz-future.options

Options used for futures

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.

  • Maintainer: Henrik Bengtsson
  • License: LGPL (>= 2.1)
  • Last published: 2025-07-29