future: A Future API for R

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. 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, e.g. 'f <- future({ mandelbrot(-0.75, 0, side=3) })' and 'v <- value(f)'. The 'resolved()' function can be used to check if a future is resolved or not. An infix assignment operator '%<-%' exists for creating futures whose values are accessible by the assigned variables (as promises), e.g. 'v %<-% { mandelbrot(-0.75, 0, side=3) }'. This package implements synchronous "lazy" and "eager" futures, and asynchronous "multicore", "multisession" and ad hoc "cluster" futures. Globals variables and functions are automatically identified and exported. Required packages are attached in external R sessions whenever needed. All types of futures are designed to behave the same such that the exact same code work regardless of futures used or number of cores, background sessions or cluster nodes available. Additional types of futures are provided by other packages enhancing this package.

Version: 1.1.1
Imports: digest, globals (≥ 0.7.0), listenv (≥ 0.6.0), parallel, utils
Suggests: R.rsp, markdown
Published: 2016-10-11
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://github.com/HenrikBengtsson/future
NeedsCompilation: no
Materials: NEWS
In views: HighPerformanceComputing
CRAN checks: future results


Reference manual: future.pdf
Vignettes: A Future for R: A Comprehensive Overview
A Future for R: Common Issues with Solutions
A Future for R: Future Topologies
A Future for R: Controlling Default Future Strategy
Package source: future_1.1.1.tar.gz
Windows binaries: r-devel: future_1.1.1.zip, r-release: future_1.1.1.zip, r-oldrel: future_1.1.1.zip
OS X Mavericks binaries: r-release: future_1.1.1.tgz, r-oldrel: future_1.1.1.tgz
Old sources: future archive

Reverse dependencies:

Reverse depends: doFuture, future.BatchJobs, pbmcapply
Reverse imports: aroma.affymetrix, aroma.core, fiery, PSCBS, R.filesets


Please use the canonical form https://CRAN.R-project.org/package=future to link to this page.