Rev Language Reference


setOption - Set a global RevBayes option

Set a global option for RevBayes.

Usage

setOption(String key, String value)

Arguments

key : String (pass by value)
The key-identifier for which to set a new value.
value : String (pass by value)
The new value.

Return Type

Details

Options are used to personalize RevBayes and are stored on the local machine. Currently this is rather experimental.

Example

# compute the absolute value of a real number
getOption("linewidth")

# let us set the linewidth to a new value
setOption("linewidth", 200)

# now let's check what the value is
getOption("linewidth")

See Also