[ESS] inferior-R-args seem to be ignored: .Rhistory is written anyways

Marius Hofert marius.hofert at math.ethz.ch
Fri Apr 12 20:39:54 CEST 2013


Thanks, Vitalie, (setq ess-history-file nil) solved it!

Cheers,

Marius

Vitalie Spinu <spinuvit at gmail.com> writes:

>   >> Marius Hofert <marius.hofert at math.ethz.ch>
>   >> on Fri, 12 Apr 2013 14:58:08 +0200 wrote:
>
>  > Dear ESS experts,
>  > I set
>
>  > (setq inferior-R-args "--no-restore-history --no-save")
>
>  > in order to avoid .Rhistory files etc. The variable is correctly set (I checked
>  > its value). If I start R from the terminal this way, no .Rhistory is
>  > written. However, if I use 'M-x R' to start R a .Rhistory file is written. Also,
>  > I obtain the message "Cannot read history file
>  > /home/mylogin/R/my/path/.Rhistory" which means R is looking for .Rhistory. Why
>  > is the above setting of inferior-R-args not respected?
>
> Indeed. History is handled by ESS and comint. See ess-history-file for
> how to re-configure.
>
>     Vitalie



More information about the ESS-help mailing list