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

View source: R/rmweather_helpers.R

system_cpu_core_countR Documentation

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(s)

Stuart K. Grange


rmweather documentation built on June 22, 2024, 9:33 a.m.