par_lapply {junco} | R Documentation |
Parallelise Lapply
Description
Simple wrapper around lapply
and parallel::clusterApplyLB
to abstract away
the logic of deciding which one to use
Usage
par_lapply(cl, fun, x, ...)
Arguments
cl |
Cluster created by |
fun |
Function to be run |
x |
object to be looped over |
... |
extra arguments passed to |
Value
list
of results of calling fun
on elements of x
.
[Package junco version 0.1.1 Index]