Learn R Programming

RAppArmor (version 1.0.1)

ncores: Get number of cores

Description

Get the number of cores available in the machine.

Usage

ncores()

Arguments

References

Jeroen Ooms (2013). The RAppArmor Package: Enforcing Security Policies in {R} Using Dynamic Sandboxing on Linux. Journal of Statistical Software, 55(7), 1-34. http://www.jstatsoft.org/v55/i07/.

Ubuntu Manpage: _SC_NPROCESSORS_ONLN - The number of processors currently online (available). http://manpages.ubuntu.com/manpages/precise/man3/sysconf.3.html.