Rev Language Reference

getOption - Get a global RevBayes option

Get a global option for RevBayes.

Usage

getOption(String key)

Arguments

 key : String (pass by value) The key-identifier for the option.

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")