prep_pmap: Support function for a parallel 'pmap'

View source: R/prep_pmap.R

prep_pmapR Documentation

Support function for a parallel pmap

Description

parallel version of purrr::pmap

Usage

prep_pmap(.l, .f, ..., cores = 0)

Arguments

.l

data.frame with one call per line and one function argument per column

.f

function to call with the arguments from .l

...

additional, static arguments for calling .f

cores

number of cpu cores to use or a (named) list with arguments for parallelMap::parallelStart or NULL, if parallel has already been started by the caller. Set to 0 to run without parallelization.

Value

list of results of the function calls

Author(s)

Aurèle

S Struckmann

See Also

purrr::pmap

Stack Overflow post


dataquieR documentation built on May 29, 2024, 7:18 a.m.