CreateParallelWorkers: Create a Parallel Computing Cluster

Description Usage Arguments Details Value Examples

View source: R/utils_CreateParallelWorkers.R

Description

This function is a wrapper for the SnowParam and MulticoreParam constructor functions.

Usage

1

Arguments

nCores

The number of computing cores to make available for coMethDMR computation

...

Additional arguments passed to the cluster constructors.

Details

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.

Value

A parameter class for use in parallel evaluation

Examples

1
   workers_cl <- CreateParallelWorkers(nCores = 4)

lissettegomez/coMethDMR documentation built on April 25, 2021, 1:10 p.m.