Learn R Programming

rmweather (version 0.2.62)

system_cpu_core_count: Function to return the system's number of CPU cores.

Description

Function to return the system's number of CPU cores.

Usage

system_cpu_core_count(logical_cores = TRUE, max_cores = NA)

Arguments

logical_cores

Should logical cores be included in the core count?

max_cores

Should the return have a maximum value? This can be useful when there are very many cores and logic is being built.

Author

Stuart K. Grange