CRAN/E | doFuture

doFuture

Use Foreach to Parallelize via the Future Framework

Installation

About

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.

Citation doFuture citation info
doFuture.futureverse.org
github.com/HenrikBengtsson/doFuture
Bug report File report

Key Metrics

Version 1.0.1
Published 2023-12-20 127 days ago
Needs compilation? no
License LGPL-2.1
License LGPL-3
CRAN checks doFuture results

Downloads

Yesterday 1.268 0%
Last 7 days 7.200 -22%
Last 30 days 34.742 +115%
Last 90 days 56.458 +146%
Last 365 days 109.492 +82%

Maintainer

Maintainer

Henrik Bengtsson

henrikb@braju.com

Authors

Henrik Bengtsson

aut / cre / cph

Material

NEWS
Reference manual
Package source

In Views

HighPerformanceComputing

Vignettes

doFuture: An Overview on using Foreach to Parallelize via the Future Framework
Foreach Iteration using Futures via %dopar%
Foreach Iteration using Futures via %dofuture%

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

doFuture archive

Depends

foreach ≥ 1.5.0
future ≥ 1.32.0

Imports

future.apply
globals
iterators
parallel
utils

Suggests

doRNG ≥ 1.8.2
markdown
R.rsp

Reverse Imports

antaresEditObject
envi
funGp
fxTWAPLS
hwep
kergp
latentcor
LWFBrook90R
multilevelcoda
nebula
pareg
remiod
rpm
SharkDemography
simtrial
skpr
sparrpowR
sphunif
ssdtools
tglkmeans
updog
vmeasur
WeightedCluster

Reverse Suggests

bhmbasket
ISAnalytics
kernelshap
ldsr
mikropml
momentuHMM
mslp
oncomsm
progressr
projpred
robust2sls
semPower
sRACIPE