[ESS] [Fwd: Re: R and Xemacs]

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Thu Feb 22 13:07:13 CET 2007


 > Can anybody please tell me how I make the R command history larger
 > (the default appears to be 32).  I haven't been able to work out which
 > variable I need to change, and I'm not even sure if it's an R or
 > Xemacs variable (I suspect the latter because when I change the R
 > environment variable R_HISTSIZE it has no effect - though I can find
 > no obvious variable in the init.el file).

My guess (not tested, so please let usknow if this works!) is that you
should put something like the following in .emacs:

(setq comint-input-ring-size 100)

Does that work (restart XEmacs before trying)?

If so, we could tweak the ESS code to respect R_HISTSIZE and
R_HISTFILE.

Stephen




More information about the ESS-help mailing list