setDelapThreads | R Documentation |
Set or get number OpenMP threads to be used by Delaporte functions which
are parallelized. These include ddelap
, pdelap
, qdelap
, and
rdelap
.
setDelapThreads(n)
getDelapThreads()
n |
integer: maximum number of threads to be used. |
For systems which return valid values for detectCores
,
the maximum number of threads will be capped at that value.
getDelapThreads
returns an integer representing the maximum number of
allowed threads.
setDelapThreads
invisibly returns the integer passed to it.
Avraham Adler Avraham.Adler@gmail.com
detectCores
in parallel package.
getDelapThreads()
setDelapThreads(2L)
getDelapThreads()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.