setParallel {microclass}R Documentation

Set number of parallel threads

Description

Simple function to set the number of threads to use in parallel computations. The default equals all available logical cores. An integer is interpreted as the number of threads. A numeric < 1 is interpreted as a proportion of the avialable logical cores.

Usage

setParallel(C = NULL)

Arguments

C

a scalar indicating the number of threads, default = NULL (#available logical cores)

Value

NULL, returned silently.

Examples

## Not run: 
setParallel() # Use all available logical cores.

## End(Not run)


[Package microclass version 1.2 Index]