[R] Quit asking me if I want to save the workspace!

Spencer Graves spencer.graves at pdf.com
Wed Sep 17 04:54:22 CEST 2003


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
>  
>




More information about the R-help mailing list