Guess Number of Cores
guessNumCores.RdAttempts to guess the number of CPU ‘cores’, both physical and logical.
Details
Because of different definitions of cores used by different manufacturers, the distinction between logical and physical cores is not universally recognized. This function will attempt to use operating system definitions when available, which should usually match the CPU itself.
Value
An integer, or NA if no clear answer was obtained. The fitting functions take their default n.threads from this value, and where it is NA the default is one thread, with no message; an n.threads that is stated as NA is refused.
Author
Vincent Dorie: vdorie@gmail.com.