A simple yet fully customizable way to run functions iteratively in R using multiple CPU cores (instead of the default, one) by bridging purrr to foreach package and its adapters.
With parapurrr, one can run purrr’s mapping functions in parallel (i.e., incorporate multiple CPU cores instead of the default, one). The package parapurrr does that by connecting purrr to foreach package and its adapters. Users are only required to add a prefix “pa_” before their desired purrr functions (e.g., pa_map instead of map). The rest will be handled internally. All map family functions and all foreach adapters on CRAN are supported.
Please see the parapurrr’s vignette article for additional information, including FAQs and detailed instructions on fully tailoring the parallelization process.