updateCurAction {iSPlot} | R Documentation |
updateCurAction updates the current action environment variable in controlEnv and calls updateControlWindow to reflect the change in current action on the control window.
updateCurAction(curAct, ...)
curAct |
character string that describes which menu item was chosen |
... |
extra parameters that are passed to updateControlWindow |
Currently, curAct can be one of the following strings: openf, opend, quit, find, reset, plotD, viewData, color, highlight, identify, hide, replot, or empty. If curAct is not one of those strings, then curAct is presumed to be the name of a function. When curAct is the name of a function, the ... parameter(s) is passed to that function using do.call so the ... parameter is available in case the function has parameters.
Elizabeth Whalen
if (interactive()) { createControlWindow() updateCurAction("opend") }