fpurrr_map {flowGraph}R Documentation

Wrapper for map

Description

Wrapper for purrr::map and furrr::future_map to handle parallel-ization

Usage

fpurrr_map(x, f, no_cores = 1, prll = TRUE, ...)

Arguments

x

Variable to recurse over; must be indices!

f

Function to recurse over.

no_cores

Number of cores to use; future must have been ran already.

prll

If set to FALSE, forces use of purrr::map instead of furrr::future_map, Default: TRUE

...

Other parameters used by f.

Details

Wrapper for purrr::map and furrr::future_map to handle parallel-ization easily; note that future must have been ran already outside of the function and outputs will always be a list.

Value

Unnested named list.

See Also

map future_map


[Package flowGraph version 1.0.0 Index]