setupClusters: Setup Clusters
Description
Setup parallel clusters for different operating systems.
Usage
setupClusters(num.cores = 1, max.cores = NULL)
Value
an object of class c("SOCKcluster", "cluster")
.
Arguments
- num.cores
number of cores for multithreading.
If NULL
, the number used is set to the
value of parallel::detectCores() - 1
.
- max.cores
maximum number of cores to use.