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 <doi:10.32614/RJ-2021-048>. 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.

Version: 1.1.2
Depends: foreach (≥ 1.5.0), future (≥ 1.49.0)
Imports: future.apply, globals, iterators, parallel, utils
Suggests: doRNG (≥ 1.8.2), markdown, R.rsp
Published: 2025年07月14日
Author: Henrik Bengtsson ORCID iD [aut, cre, cph]
Maintainer: Henrik Bengtsson <henrikb at braju.com>
License: LGPL-2.1 | LGPL-3 [expanded from: LGPL (≥ 2.1)]
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: doFuture results

Documentation:

Reference manual: doFuture.html , doFuture.pdf

Downloads:

Package source: doFuture_1.1.2.tar.gz
Windows binaries: r-devel: doFuture_1.1.2.zip, r-release: doFuture_1.1.2.zip, r-oldrel: doFuture_1.1.2.zip
macOS binaries: r-release (arm64): doFuture_1.1.2.tgz, r-oldrel (arm64): doFuture_1.1.2.tgz, r-release (x86_64): doFuture_1.1.2.tgz, r-oldrel (x86_64): doFuture_1.1.2.tgz
Old sources: doFuture archive

Reverse dependencies:

Reverse depends: distantia

Linking:

Please use the canonical form https://CRAN.R-project.org/package=doFuture to link to this page.

AltStyle によって変換されたページ (->オリジナル) /