map_parallel.Rd
Map a function along a list in parallel
map_parallel( l, f, ..., parallel = T, ncores = getCores(), thresh = 20, collapse = "list" )
l | list whose items are passed as data to f |
---|---|
f | function to map along rows |
... | parameters passed to function |
parallel | T/F, whether to operate in parallel or in sequence |
ncores | number of cores to use |
thresh | required length of list to use parallel processing |
collapse | what function to use when collapsing arguments |
only works if the function's dependencies are completely contained in "quantspace" package