futureverse. To fix this you can add URL: https://futureverse-devel.r-universe.dev/doFuture to the package DESCRIPTION file. See also theR-universe documentation.Package: doFuture 1.4.0-9006
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 three ways to use this package. The recommended approach is to use 'y <- foreach(...) %do% { ... } |> futurize()' via the 'futurize' package (<doi:10.48550/arXiv.2601.17578>). The second alternative, which was formerly recommended, is to use 'y <- foreach(...) %dofuture% { ... }', which does not require using 'registerDoFuture()' and has many advantages over '%dopar%'. The third alternative is the traditional 'foreach' approach by registering the 'foreach' adapter 'registerDoFuture()' and so that 'y <- foreach(...) %dopar% { ... }' parallelizes with the 'future' framework.
Authors:
doFuture_1.4.0-9006.tar.gz
doFuture_1.4.0-9006.zip(r-4.7-any)doFuture_1.4.0-9006.zip(r-4.6-any)doFuture_1.4.0-9006.zip(r-4.5-any)
doFuture_1.4.0-9006.tgz(r-4.6-any)doFuture_1.4.0-9006.tgz(r-4.5-any)
doFuture_1.4.0-9006.tar.gz(r-4.7-any)doFuture_1.4.0-9006.tar.gz(r-4.6-any)
doFuture_1.4.0-9006.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
doFuture/json (API)
| # Install 'doFuture' in R: |
| install.packages('doFuture', repos = c('https://futureverse-devel.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/futureverse/dofuture/issues
Pkgdown/docs site:https://dofuture.futureverse.org
batchjobsbatchtoolsbiocparalleldistributed-computingforeachhpchpc-clustersparallelplyr
Last updated from:5bd5ac910a (on develop). Checks:7 NOTE, 2 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 281 | ||
| source / vignettes | OK | 152 | ||
| linux-release | NOTE | 298 | ||
| macos-release | NOTE | 337 | ||
| macos-oldrel | NOTE | 188 | ||
| windows-devel | NOTE | 196 | ||
| windows-release | NOTE | 221 | ||
| windows-oldrel | NOTE | 225 | ||
| wasm-release | OK | 76 |
Exports:%dofuture%registerDoFuturewithDoRNG
Dependencies:codetoolsforeachfuturefuture.applyglobalsiteratorslistenvparallelly
Last update: 2026-10-05
Started: 2023-03-21
Last update: 2026-01-19
Started: 2023-03-21
Last update: 2026-01-19
Started: 2023-03-21
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Loop over a Foreach Expression using Futures | %dofuture% |
| doFuture: Foreach Parallel Adapter using Futures | doFuture-package doFuture |
| Use the Foreach %dopar% Adapter with Futures | registerDoFuture |
| Evaluate an Expression using a Temporarily Registered Foreach %dopar% Adapter | with.DoPar |
| Evaluates a foreach %dopar% expression with the doRNG adapter | withDoRNG |
