parLapplySave

Share:

Description

Wrapper around parLapply that calls lapply on improper cluster

Usage

1

Arguments

cl
...

Details

lapply is called if isParallel returns FALSE

Author(s)

Thomas Wutzler

See Also

isParallel, isClusterRunning, twMisc

Examples

1
2
3
# next will work on cluster, if default cluster is defined
# else will use lapply
parLapplySave(NULL, 1:2, function(i){i*2})  

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.