doFuture

From MaRDI portal
Revision as of 21:00, 5 March 2024 by Import240305080343 (talk | contribs) (Created automatically from import240305080343)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Software:54217



swMATH38517CRANdoFutureMaRDI QIDQ54217

Use Foreach to Parallelize via the Future Framework

Henrik Bengtsson

Last update: 20 December 2023

Copyright license: GNU Lesser General Public License, version 2.1, GNU Lesser General Public License, version 3.0

Software version identifier: 1.0.0, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 1.0.0, 1.0.1

Source code repository: https://github.com/cran/doFuture

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.




Related Items (24)


This page was built for software: doFuture