Description
Easily Install and Load the 'Futureverse'.
Description
The 'Futureverse' is a set of packages for parallel and distributed process with the 'future' package at its core, cf. Bengtsson (2021) <doi:10.32614/RJ-2021-048>. This package is designed to make it easy to install and load multiple 'Futureverse' packages in a single step. This package is intended for end-users, interactive use, and R scripts. Packages must not list it as a dependency - instead, explicitly declare each 'Futureverse' package as a dependency as needed.
README.md
R package 'futureverse' - Easily Install and Load the 'Futureverse'
The Futureverse is a unifying framework for parallelization and distributed processing in R. This package, futureverse, is a utility wrapper package that makes it easy to install and load the most common Futureverse packages in one go.
Usage
library(futureverse)
will load the common Futureverse packages:
- future - the core Futureverse package
- future.apply - Futureverse variants of base-R apply functions
- furrr - Futureverse variants of purrr apply functions
- doFuture - Futureverse adaptors for the foreach package
- progressr - Near-live progress updates when using Futureverse
Installation
Call:
install.packages("futureverse")
to install future, future.apply, furrr, doFuture, and progressr.
To install also additional parallel backends, future.batchtools, future.callr, and future.mirai, use:
install.packages("futureverse", dependencies = TRUE)