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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/sysutils.r

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

nat.utils documentation built on May 29, 2017, 11:48 a.m.

Search within the nat.utils package
Search all R packages, documentation and source code