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
Categories
FrameworksFollow future
Other Useful Business Software
Skillfully - The future of skills based hiring
Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of future!