options: Set and get global options for INLA

Description Usage Arguments Author(s) Examples

Description

Set and get global options for INLA

Usage

1
2
3

Arguments

...

Option and value, like option=value or option, value; see the Examples

option

The option to get. If option = NULL then inla.getOption then inla.getOption will display the current defaults, otherwise, option must be one of

inla.call: The path to the inla-program.

inla.arg: Additional arguments to inla.call

fmesher.call: The path to the fmesher-program

fmesher.arg: Additional arguments to fmesher.call

num.threads: Number of threads to use.

keep: Keep temporary files?

working.directory: The name of the working directory.

silent: Run the inla-program in a silent mode?

debug : Run the inla-program in a debug mode?

internal.binary.mode : if FALSE the (some) output are in ascii format instead of binary format. Using this option, then inla.collect.results will fail (Expert mode)

internal.experimental.mode : Expert option

cygwin : The home of the Cygwin installation (default "C:/cygwin") [Remote computing for Windows only]

ssh.auth.sock: The ssh bind-adress (value of $SSH_AUTH_SOCK int the Cygwin-shell). [Remote computing for Windows only]

enable.inla.argument.weights : if TRUE the inla accepts argument weights

show.warning.graph.file : Give a warning for using the obsolete argument graph.file instead of graph

scale.model.default : The default value of argument scale.model which optionally scale intrinisic models to have generalized unit average variance

The options are stored in the variable inla.options in the .GlobalEnv-environment.

Author(s)

Havard Rue hrue@math.ntnu.no

Examples

1
2
3
4
5
6
 ## set number of threads
 inla.setOption("num.threads", 2)
 ## alternative format
 inla.setOption(num.threads=2)
 ## check it
 inla.getOption("num.threads")

andrewzm/INLA documentation built on May 10, 2019, 11:12 a.m.