count_cores: A helper function to count the number of cores available on...

View source: R/count_cores.R

count_coresR Documentation

A helper function to count the number of cores available on the current machine

Description

A helper function to count the number of cores available on the current machine

Usage

count_cores()

Value

A number of cores to use; if parallel is installed, this will be parallel::detectCores(). Otherwise, this returns a 1.


plmmr documentation built on April 4, 2025, 12:19 a.m.