Set PBS options from corresponding values of widgets in a GUI.
Usage
setGUIoptions(option)
Arguments
option
the name of a single option or the string "*".
Details
A GUI may have PBS options that it uses, which have corresponding widgets that
are used for entering values for these options. These are declared by
declareGUIoptions.
If the option argument is the name of an option,
setGUIoptions transfers the value of this option from a
same-named widget into PBS options global R environment database.
If the option argument is "*", then all the
options that have been declared by declareGUIoptions
will be transferred in this fashion.
To use this function in a window description file, the
option argument must be specified as the action of the
widget that calls setGUIoptions – action=editor
or action=* for example.
Note
If all the required arguments are missing, it is assumed that
the function is being called by a GUI widget.
Author(s)
Anisa Egeli, Vancouver Island University, Nanaimo BC
See Also
declareGUIoptions, getGUIoptions,
setPBSoptions,
Examples
## Not run:
local(envir=.PBSmodEnv,expr={
setGUIoptions("editor")
})
## End(Not run)