lapply_bind_rows: Run lapply then bind_rows, with multicore

Description Usage Arguments Value See Also

View source: R/parallel.r

Description

Run lapply then bind_rows, with multicore

Usage

1
lapply_bind_rows(X, FUN, ..., lapply_id = NULL, mc.cores = NULL)

Arguments

X

Argument to FUN to iterate over

FUN

Function to apply

...

Other arguments passed to FUN

lapply_id

If not NULL, create a column with the name provided by lapply_id to identify the X value used.

mc.cores

Number of cores to use. (Default of NULL tries to guess; see get_cores)

Value

The result, as if passed to lapply()

See Also

purrr::map_df(), dplyr::bind_rows()


karldw/kdw.junk documentation built on Dec. 24, 2018, 1:07 a.m.