setGUIoptions | R Documentation |
Set PBS options from corresponding values of widgets in a GUI.
setGUIoptions(option)
option |
the name of a single option or the string |
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.
If all the required arguments are missing, it is assumed that the function is being called by a GUI widget.
Anisa Egeli, Vancouver Island University, Nanaimo BC
declareGUIoptions
, getGUIoptions
,
setPBSoptions
,
## Not run:
local(envir=.PBSmodEnv,expr={
setGUIoptions("editor")
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.