quit {base} | R Documentation |
save
must be one of "no"
, "yes"
,
or "ask"
.
In the first case the workspace is not saved, in the second
it is saved and in the third the user is prompted.
Invoking these functions results in the termination
of the current R session.
quit(save="ask")
q(save="ask")
save |
a character string indicating whether the environment (workspace) should be saved. |