[ESS] several R versions

Martin Maechler maechler at stat.math.ethz.ch
Thu Sep 1 11:34:40 CEST 2005

>>>>> "StEgl" == Stephen Eglen <S.J.Eglen at damtp.cam.ac.uk>
>>>>>     on Thu, 1 Sep 2005 10:11:50 +0100 writes:

    StEgl> Martin, Kaspar,
    StEgl> I just took a deeper look into R-devel, and found the problem.

    StEgl> If I have a program called "R-devel" on my path, I need to put the
    StEgl> following in .emacs BEFORE ess-site is loaded:

    StEgl> (setq ess-r-versions '("R-1" "R-2" "R-devel"))
    StEgl> (require 'ess-site)

    StEgl> since the R versions are created only on startup.  Perhaps I need to
    StEgl> document that better in the string.  This means also that if people
    StEgl> customize it, either:

    StEgl> 1. their customize should come before ess-site is loaded (hard)

    StEgl> 2. the customize code dynamically recreates R-versions (neater).

    StEgl> But if we change the default of ess-r-versions to the above, we should
    StEgl> be Okay for most people, especially you Martin, so you should be able
    StEgl> to remove your 6 year old function!

well, if we go down that road we should make it

 (setq ess-r-versions '("R-1" "R-2" "R-devel" "R-patched"))
 (require 'ess-site)

since that would allow to get rid of yet another 6 year old one :-)

    StEgl> Please check and get back to me! 


More information about the ESS-help mailing list