closeCommander {Rcmdr.HH} | R Documentation |
Close the R Commander GUI (graphical user interface), with option to close without querying the user about saving files. A warning is issued if the R Commander is not open.
closeCommander(exitQ=TRUE, scriptQ=exitQ, outputQ=exitQ)
exitQ |
Should we query user to confirm exiting Rcmdr? |
scriptQ |
Should we query user for a filename to save the Rcmdr script window? |
outputQ |
Should we query user for a filename to save the Rcmdr output window? |
The default argument values TRUE
give the same bahavior as
the original closeCommander
. The alternate value FALSE
forces Rcmdr to close without querying the user and without saving any
windows.
The objects "commanderWindow"
, "logWindow"
,
"messagesWindow"
, "outputWindow"
in the
"RcmdrEnv"
are set to NULL
.
Changes by Richard M. Heiberger <rmh@temple.edu>, based on original by John Fox jfox@mcmaster.ca
## Not run: closeCommander() ## default behavior closeCommander(exitQ=FALSE) ## force no queries and no saves ## End(Not run)