[ESS] Terminating ESS/R session question

Atul Shrivastava as_1000 at hotmail.com
Mon Feb 8 20:46:22 CET 2016


Hello Jim - thanks for your prompt response. 

Your suggestion works exactly what I wanted. Going forward, I prefer to keep this setting in my local init.el file.

regards,

Atul


> On Feb 8, 2016, at 2:06 PM, James W. MacDonald <jmacdon at uw.edu> wrote:
> 
> The default site-start.el has this section:
> 
> ;;;
> ;;; ESS
> ;;;
> ;; Following the "source is real" philosophy put forward by ESS, one
> ;; should not need the command history and should not save the
> ;; workspace at the end of an R session. Hence, both options are
> ;; disabled here.
> (setq-default inferior-R-args "--no-save ")
> 
> Which you can comment to require R to ask the question.
> 
> Best,
> 
> Jim
> 
> 
> 
> On Mon, Feb 8, 2016 at 1:43 PM, Atul Shrivastava <as_1000 at hotmail.com <mailto:as_1000 at hotmail.com>> wrote:
> Hello - I recently started using ESS in emacs (using Prof. Goulet’s version in Windows. Thank You!). After customization, the tool works great but there’s one simple piece of functionality that I’m unable to get working.
> 
> I prefer to have emacs prompt me to (y/n/c) to save my R workspace when I quit ESS/R buffer (typically thru C-c C-q), but right now it quits without saving the workspace, while saving .Rhistory in the working directory. I can force save by setting inferior-R-args in init.el file, but I want the default behavior to be where the system prompts me.
> 
> Any thoughts are greatly appreciated.
> 
> regards,
> 
> Atul Shrivastava
> 
> ______________________________________________
> ESS-help at r-project.org <mailto:ESS-help at r-project.org> mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help <https://stat.ethz.ch/mailman/listinfo/ess-help>
> 
> 
> -- 
> James W. MacDonald, M.S.
> Biostatistician
> University of Washington
> Environmental and Occupational Health Sciences
> 4225 Roosevelt Way NE, # 100
> Seattle WA 98105-6099 


	[[alternative HTML version deleted]]



More information about the ESS-help mailing list