clearAllWindows {iSPlot} | R Documentation |
clearAllWindows destroys all gtk windows that have been opened when using interactive scatterplots. So all gtk windows stored in the environments, viewEnv and controlEnv, will be destroyed and the objects representing these windows will be removed from viewEnv and controlEnv. clearAllWindows is meant to be called from askToQuit. clearAllWindows also resets the control environment variables to their default values by calling setControlEnvDefaults.
clearAllWindows()
Elizabeth Whalen
askToQuit
,
setDeleteEvents
,
setControlEnvDefaults
if (interactive()) { createControlWindow() Sys.sleep(1) # should call clearAllWindows by choosing 'quit' under file menu clearAllWindows() }