Function to run lapply or mclapply, depending on the option set in getOption("mc.cores"), which can be set with setLapplyAlias().
lapplyAlias(..., mc.preschedule = TRUE)
... | Arguments passed lapply() or mclapply() |
---|---|
mc.preschedule | Argument passed to mclapply |
Result from lapply or parallel::mclapply