Learn R Programming

sonicscrewdriver (version 0.0.7)

defaultCluster: Create Default Cluster for Windowing

Description

Creates a default cluster using one less than the total cores available on the system. By default this uses forking, which is not be available on Windows. Hence, the fork parameter has no effect on Windows.

Usage

defaultCluster(fork = TRUE)

Value

A cluster object for parallel processing

Arguments

fork

If TRUE uses forking to create the cluster (Unix like systems only)

Examples

Run this code
if (FALSE) {
cl <- defaultCluster()
stopCluster(cl)
cl <- defaultCluster(FALSE)
stopCluster(cl)
}

Run the code above in your browser using DataLab