getOptionsPrefix {PBSmodelling}R Documentation

get and set GUI prefix of options class

Description

The prefix is used for determining which GUI variables are associated with a user option.

Usage

getOptionsPrefix(option.object)
setOptionsPrefix(option.object, prefix)

Arguments

option.object options class object used for storing package options
prefix new prefix to use

Value

getOptionsPrefix: a prefix string used to reference GUI variables

See Also

see option for an example of using PBSmodelling's option managment functions

Examples

.mypkg <<- new( "PBSoptions", filename = "my_pkg.txt", initial.options = list( pi = 3.14 ), gui.prefix = "opt" )

#prefix the option "pi" with "opt" to get "optpi"
createWin( "entry name=optpi", astext = TRUE )

#the GUI variable "optpi" will be loaded with the option "pi"
loadOptionsGUI( .mypkg )

[Package PBSmodelling version 2.55.175 Index]