parLapplySave: parLapplySave

Description Usage Arguments Details Author(s) See Also Examples

View source: R/parallel.R

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})  

twMisc documentation built on May 31, 2017, 4:37 a.m.

Search within the twMisc package
Search all R packages, documentation and source code