defaultCluster: Create Default Cluster for Windowing

Description Usage Arguments Value Examples

View source: R/defaultCluster.R

Description

Creates a default cluster using one less than the total cores available on the system. By default this uses forking, which may not be available on 'Windows'.

Usage

1

Arguments

fork

If TRUE uses forking to create the cluster

Value

A cluster object for parallel processing

Examples

1
2
3
4
5
6
7
## Not run: 
cl <- defaultCluster()
stopCluster(cl)
cl <- defaultCluster(FALSE)
stopCluster(cl)

## End(Not run)

sonicscrewdriver documentation built on May 2, 2021, 5:06 p.m.