ncpus: Return number of cpus (or a default on failure)

Description

Return number of cpus (or a default on failure)

Usage

1
ncpus(default = 1L)

Arguments

default

Number of cores to assume if detectCores fails

Value

Integer number of cores

integer number of cores always >=1 for default values

Author(s)

jefferis

See Also

detectCores

Examples

1

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.