Set PBS Options from Widget Values

Share:

Description

Set PBS options from corresponding values of widgets in a GUI.

Usage

1
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 setGUIoptionsaction=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

1
2
3
4
5
6
## Not run: 
local(envir=.PBSmodEnv,expr={
  setGUIoptions("editor")
})

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.