Murray Jorgensen
2003-Sep-17 02:17 UTC
[R] Quit asking me if I want to save the workspace!
How do you stop R from putting up a dialog box when you quit Rgui? (I use Windows and I never save workspaces that way) Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: maj at waikato.ac.nz Fax 7 838 4155 Phone +64 7 838 4773 wk +64 7 849 6486 home Mobile 021 1395 862
Rafael A. Irizarry
2003-Sep-17 02:23 UTC
[R] Quit asking me if I want to save the workspace!
you can type this:
q("no")
see the help file for q
On Wed, 17 Sep 2003, Murray Jorgensen wrote:
> How do you stop R from putting up a dialog box when you quit Rgui?
> (I use Windows and I never save workspaces that way)
>
> Murray
> --
> Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
> Department of Statistics, University of Waikato, Hamilton, New Zealand
> Email: maj at waikato.ac.nz Fax 7 838 4155
> Phone +64 7 838 4773 wk +64 7 849 6486 home Mobile 021 1395 862
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
Murray Jorgensen
2003-Sep-17 02:26 UTC
[R] Quit asking me if I want to save the workspace!
Rafael A. Irizarry wrote:> you can type this: > > q("no") > > see the help file for qStill more work than two mouse clicks. -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of Statistics, University of Waikato, Hamilton, New Zealand Email: maj at waikato.ac.nz Fax 7 838 4155 Phone +64 7 838 4773 wk +64 7 849 6486 home Mobile 021 1395 862
On Tuesday 16 September 2003 21:26, Murray Jorgensen wrote:> Rafael A. Irizarry wrote: > > you can type this: > > > > q("no") > > > > see the help file for q > > Still more work than two mouse clicks.Start R with --no-save (not sure how/whether this will work on Windows).
Consider
Q <- function(x)q("no")
With R 1.7.1 under Windows, "Q()" caused R to close without asking for
confirmation. This does not solve the whole problem, but it might
provide a piece of the puzzle.
hope this helps. spencer graves
Rafael A. Irizarry wrote:
>you can type this:
>
>q("no")
>
>see the help file for q
>
>
>On Wed, 17 Sep 2003, Murray Jorgensen wrote:
>
>
>
>>How do you stop R from putting up a dialog box when you quit Rgui?
>>(I use Windows and I never save workspaces that way)
>>
>>Murray
>>--
>>Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html
>>Department of Statistics, University of Waikato, Hamilton, New Zealand
>>Email: maj at waikato.ac.nz Fax 7 838
4155
>>Phone +64 7 838 4773 wk +64 7 849 6486 home Mobile 021 1395 862
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch mailing list
>>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>
>>
>>
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
TyagiAnupam@aol.com
2003-Sep-17 03:27 UTC
[R] Quit asking me if I want to save the workspace!
In a message dated 9/16/03 7:20:08 PM Pacific Daylight Time, maj@stats.waikato.ac.nz writes:> How do you stop R from putting up a dialog box when you quit Rgui? > (I use Windows and I never save workspaces that way) > >On windows-98, an easy solution that works: * Right-click the icon with which you start R. * Go to Properties --> Shortcut --> Target. * In "Target" add "--no-save" (I tried without quotation marks). * Click "OK", and try. Hope it works if you are using something other than Windows-98. --Anupam. [[alternative HTML version deleted]]