R/cpus.R
cpus.Rd
Detect the number of CPU cores
cpus()
integer(1). Number of CPU cores.
integer(1)
Updated 2023-05-16.
parallel::detectCores
ps::ps_cpu_count
cpus() #> [1] 8