HenrikBengtsson/doFuture: Use Foreach to Parallelize via the Future Framework

The 'future' package provides a unifying parallelization framework for R that supports many parallel and distributed backends. The 'foreach' package provides a powerful API for iterating over an R expression in parallel. The 'doFuture' package brings the best of the two together. There are two alternative ways to use this package. The recommended approach is to use 'y <- foreach(...) %dofuture% { ... }', which does not require using 'registerDoFuture()' and has many advantages over '%dopar%'. The alternative is the traditional 'foreach' approach by registering the 'foreach' adapter 'registerDoFuture()' and so that 'y <- foreach(...) %dopar% { ... }' runs in parallelizes with the 'future' framework.

Getting started

Package details

Maintainer
LicenseLGPL (>= 2.1)
Version1.0.1-9000
URL https://doFuture.futureverse.org https://github.com/HenrikBengtsson/doFuture
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("HenrikBengtsson/doFuture")
HenrikBengtsson/doFuture documentation built on Jan. 31, 2024, 9 a.m.