Learn R Programming

⚠️There's a newer version (1.40.0) of this package.Take me there.

future (version 0.6.0)

A Future API for R

Description

A Future API for R is provided. In programming, a future is an abstraction for a value that may be available at some point in the future. The state of a future can either be unresolved or resolved. As soon as it is resolved, the value is available. Futures are useful constructs in for instance concurrent evaluation, e.g. multicore parallel processing and distributed processing on compute clusters. The purpose of this package is to provide a lightweight interface for using futures in R. Functions 'future()' and 'value()' exist for creating futures and requesting their values. An infix assignment operator '%<=%' exists for creating futures whose values are accessible by the assigned variables (as promises). This package implements the synchronous "lazy" and "eager" futures, and the asynchronous "multicore" future (not on Windows). Additional types of futures are provided by other packages enhancing this package.

Copy Link

Version

Install

install.packages('future')

Monthly Downloads

266,253

Version

0.6.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

June 19th, 2015

Functions in future (0.6.0)

lazy

Create a lazy future whose value will be resolved at the time when requested
EagerFuture-class

An eager future is a future whose value will be resolved immediately
value.Future

The value of a future
futureOf

Get the future of a future variable
futureAssign

Create a future and assign its value to a variable as a promise
eager

Create an eager future whose value will be resolved immediately
%plan%

Use a specific plan for a future assignment
Future-class

A future represents a value that will be available at some point in the future
LazyFuture-class

A lazy future is a future whose value will be resolved at the time when it is requested
supportsMulticore

Check whether multicore processing is supported or not
future

Create a future
multicore

Create a multicore future whose value will be resolved asynchroneously in a parallel process
MulticoreFuture-class

An multicore future is a future whose value will be resolved asynchroneously in a parallel process
plan

Plan how to resolve a future
resolved.Future

Check whether a future is resolved or not