| inlaAvailable | R Documentation |
Tests whether the INLA package is installed and its binaries work, and optionally sets INLA thread options.
inlaAvailable()
inlaSetThreads(num.threads = 2L)
num.threads |
Number of threads passed to
|
requireNamespace("INLA") can succeed even when the INLA program
binaries are missing or broken. inlaAvailable additionally
probes INLA::inla.getOption so examples and tests can skip safely.
inlaSetThreads is a no-op when INLA is unavailable.
inlaAvailable returns a logical. inlaSetThreads returns
TRUE if options were set, FALSE otherwise, invisibly.
inlaAvailable()
inlaSetThreads(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.