Description Usage Arguments Details Value Examples
View source: R/utils_CreateParallelWorkers.R
This function is a wrapper for the SnowParam
and
MulticoreParam
constructor functions.
1 | CreateParallelWorkers(nCores, ...)
|
nCores |
The number of computing cores to make available for coMethDMR computation |
... |
Additional arguments passed to the cluster constructors. |
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.
A parameter class for use in parallel evaluation
1 | workers_cl <- CreateParallelWorkers(nCores = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.