setDelapThreads {Delaporte} | R Documentation |
Set or get the number of OpenMP threads Delaporte should use
Description
Set or get number OpenMP threads to be used by Delaporte functions which
are parallelized. These include ddelap
, pdelap
, qdelap
, and
rdelap
.
Usage
setDelapThreads(n)
getDelapThreads()
Arguments
n |
integer: maximum number of threads to be used. |
Details
For systems which return valid values for detectCores
,
the maximum number of threads will be capped at that value.
Value
getDelapThreads
returns an integer representing the maximum number of
allowed threads.
setDelapThreads
invisibly returns the integer passed to it.
Author(s)
Avraham Adler Avraham.Adler@gmail.com
See Also
detectCores
in parallel package.
Examples
getDelapThreads()
setDelapThreads(2L)
getDelapThreads()
[Package Delaporte version 8.4.1 Index]