future (0.15.0)

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 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.

Maintainer: Henrik Bengtsson
Author(s): Henrik Bengtsson [aut, cre, cph]

License: LGPL (>= 2.1)

Uses: digest, globals, listenv, R.rsp, markdown
Reverse depends: doFuture, furrr, future.apply, future.BatchJobs, future.batchtools, future.callr, pbmcapply, tidyqwi
Reverse suggests: BAMBI, batchtools, brms, drake, fxtract, grattan, GSODR, ipc, jstor, lgr, mlr3, PeakSegDisk, penaltyLearning, promises, R.filesets, reproducible, sapfluxnetr

Released over 3 years ago.