inst/doc/parallel.R

## ----pkg-load, echo = FALSE, message = FALSE----------------------------------
library (dodgr)

## ----numcores-----------------------------------------------------------------
parallel::detectCores ()
RcppParallel::defaultNumThreads ()

## ----single-core, eval = FALSE------------------------------------------------
#  RcppParallel::setThreadOptions (numThreads = 1L)

Try the dodgr package in your browser

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

dodgr documentation built on June 7, 2023, 5:44 p.m.