util_par_pmap {dataquieR}R Documentation

Utility function parallel version of purrr::pmap

Description

Parallel version of purrr::pmap.

Usage

util_par_pmap(
  .l,
  .f,
  ...,
  cores = list(mode = "socket", logging = FALSE, load.balancing = TRUE),
  use_cache = FALSE
)

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.

use_cache

logical set to FALSE to omit re-using already distributed study- and metadata on a parallel cluster

Value

list of results of the function calls

Author(s)

Aurèle

S Struckmann

See Also

purrr::pmap

Stack Overflow post


[Package dataquieR version 1.0.5 Index]