[ESS] ess-history-file nil is not respected anymore

Marius Hofert marius.hofert at math.ethz.ch
Tue May 21 15:11:03 CEST 2013


Hi Vitalie,

thanks for helping.

I did several tests, but the variable it is not respected (anymore).
This is essentially my whole ESS setup in ~/.emacs:

--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path "/usr/share/emacs/site-lisp/ess/lisp")
(require 'ess-site)
(setq ess-eval-visibly-p nil)
(setq inferior-R-args "--no-restore-history --no-save ")
(setq ess-history-file nil)
--8<---------------cut here---------------end--------------->8---

I restarted emacs, but C-h v ess-history-file reads:

--8<---------------cut here---------------start------------->8---
ess-history-file is a variable defined in `ess-custom.el'.
Its value is ".Rhistory"
Original value was t
Local in buffer *R*; global value is t
--8<---------------cut here---------------end--------------->8---

What's wrong?

Cheers,

Marius


Vitalie Spinu writes:

> It still should work. It definitely does so for me. Check your
> ess-history-file if it is indeed nil.
>
>     Vitalie
>
>  >> Marius Hofert <marius.hofert at math.ethz.ch>
>  >> on Tue, 21 May 2013 14:35:57 +0200 wrote:
>
>  > Hi,
>  > I have
>
>  > (setq ess-history-file nil)
>
>  > in ~/.emacs to avoid that .Rhistory files are written. This worked well
>  > for me for quite some time until I updated to 13.05-1 [rev. 5586
>  > (2013-05-17)]. Since then it shows .Rhistory and not nil (maybe this is
>  > due to
>  > https://github.com/emacs-ess/ESS/commit/710f4e462f0ede6e9f09ae9bd46f83ebaa3cfb77?).
>
>  > The question is, how can I get 'nil', so really no .Rhistory being
>  > written?
>
>  > Thanks & cheers,
>
>  > Marius
>
>  > ______________________________________________
>  > ESS-help at r-project.org mailing list
>  > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list