https://github.com/nanxstats/r-future-recipes
🚀 Guides and examples for the future framework in R
https://github.com/nanxstats/r-future-recipes
Last synced: 5 months ago
JSON representation
🚀 Guides and examples for the future framework in R
- Host: GitHub
- URL: https://github.com/nanxstats/r-future-recipes
- Owner: nanxstats
- Created: 2023-08-03T02:25:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-05T22:21:05.000Z (6 months ago)
- Last Synced: 2024-11-02T16:08:42.764Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 69.3 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - nanxstats/r-future-recipes - 🚀 Guides and examples for the future framework in R (Shell)
README
# R future recipes
The purpose of repo is to help myself remember important guides, examples,
and best practices related to using the future framework in R,
especially for parallelization.## General usage
- [`%dofuture%` - a better `foreach()` parallelization operator than `%dopar%`](https://www.jottr.org/2023/06/26/dofuture/) - Comprehensive summary on the benefits of using the `%dofuture%` operator.
## Nested loops
- [`%dofuture%` documentation](https://dofuture.futureverse.org/reference/grapes-dofuture-grapes.html) - Code examples section includes nested loops.
- [Future topologies vignette](https://future.futureverse.org/articles/future-3-topologies.html) - How to set `plan()` for each level.## Avoid using fork with RStudio
- [Protect against using forked processes (aka "multicore") in RStudio](https://github.com/HenrikBengtsson/future/issues/299)