R/meanr.nthreads.r

Defines functions meanr.nthreads

Documented in meanr.nthreads

#' meanr.nthreads
#' 
#' Returns the number of cores + hyperthreads on the system.  The function
#' respects the environment variable \code{OMP_NUM_THREADS}.
#' 
#' @return
#' The number of cores + hyperthreads on the system (an integer).
#' 
#' @useDynLib meanr R_meanr_nthreads
#' @export
meanr.nthreads = function()
{
  .Call(R_meanr_nthreads)
}

Try the meanr package in your browser

Any scripts or data that you put into this service are public.

meanr documentation built on Oct. 26, 2022, 1:08 a.m.