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 19, 2017, 9:05 a.m.
Search within the nat.utils package
Search all R packages, documentation and source code

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

Please suggest features or report bugs in the GitHub issue tracker.

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