R/utils_CreateParallelWorkers.R
CreateParallelWorkers.Rd
This function is an operating-system agnostic wrapper for the
SnowParam
and
MulticoreParam
constructor functions.
CreateParallelWorkers(nCores, ...)
The number of computing cores to make available for coMethDMR computation
Additional arguments passed to the cluster constructors.
A parameter class for use in parallel evaluation
This function checks the operating system and then creates a
cluster of workers using the SnowParam
function for Windows machines
and the MulticoreParam
function for non-Windows machines.
workers_cl <- CreateParallelWorkers(nCores = 4)