R/detectThreads.R

#' detect the number of available threads
#'
#' @return An integer
#' @export
#'
#' @examples
#' \donttest{
#' detectThreads()
#' }
detectThreads = \() {
  return(DetectMaxNumThreads())
}

Try the spEDM package in your browser

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

spEDM documentation built on June 25, 2025, 9:07 a.m.