Run purrr's mapping functions in parallel with futures in R
open sourceMITfree
furrr combines purrr's mapping functions with the future framework's parallel processing, so map(), map2(), pmap() and their typed variants become near drop-in future_map(), future_map2_dbl() and so on that run in parallel on whatever future backend you choose. It draws on purrr and future.apply. It's by Davis Vaughan and Henrik Bengtsson, with Posit as funder.
Problems it solves
- run purrr map calls in parallel in R
- speed up a slow map() over a list using several cores in R
- parallelise an R data pipeline with minimal code changes
Features
- parallel future_map variants of purrr functions
- works with any future backend
- near drop-in replacements for map, map2 and pmap
Alternatives
The same job
These do what furrr does.
- future (R) Unified parallel and distributed processing in R
- futurize Parallelize R map-reduce calls by piping them into futurize()
- future.apply Parallel versions of R's apply functions, built on future
