Pick a suitable number of cores
getNumberOfCores(NumberOfCores = NULL, n = NULL)
Arguments
- NumberOfCores
The number of cores to use (defaulted to 1), truncated to the number of avaliable cores.
- n
Optional length of the data to apply parallel processing to.
Value
The number of cores to apply.