View source: R/utils_CreateParallelWorkers.R
CreateParallelWorkers | R Documentation |
This function is an operating-system agnostic wrapper for the
SnowParam
and
MulticoreParam
constructor functions.
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
workers_cl <- CreateParallelWorkers(nCores = 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.