The future package in R provides a unified abstraction for asynchronous and/or parallel computation. It allows R expressions to be scheduled for future evaluation, with the result retrieved later, in a way decoupled from the specific backend used. This lets code be written in a way that works with sequential execution, multicore, multisession, cluster, or remote compute backends, without changing the high-level code. It handles automatic exporting of needed global variables/functions, managing of packages, RNG, etc. Automatic detection and export of global objects and functions needed by future expressions, so the user doesn’t need to manage that manually. Ability to control how futures are resolved.

Features

  • Unified Future API: same interface for different execution modes (sequential, multicore, multisession, cluster)
  • Automatic detection and export of global objects and functions needed by future expressions so user doesn’t need to manage that manually
  • Support for various parallel and distributed computation backends (local multicore, remote clusters, etc.)
  • Plans and strategies: ability to control how futures are resolved (e.g. whether in background, how many workers, etc.) via plan() etc
  • Integration with other packages (future.apply, furrr, etc.) to provide parallel versions of *apply(), mapping functions etc
  • Non-blocking or asynchronous evaluation (so main process need not block while future is resolving) and support for querying whether a future is resolved etc

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

Follow future

future Web Site

Other Useful Business Software
Earn up to 16% annual interest with Nexo. Icon
Earn up to 16% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of future!

Additional Project Details

Programming Language

R

Related Categories

R Frameworks

Registered

2025-09-12