[ESS] help on ess-5.2.5 (second)

Martin Maechler maechler at stat.math.ethz.ch
Sat Feb 26 10:25:58 CET 2005


>>>>> "Kasper" == Kasper Daniel Hansen <k.hansen at biostat.ku.dk>
>>>>>     on Fri, 25 Feb 2005 21:13:48 +0100 writes:

    Kasper> The easiest is to put the
    Kasper> (require 'ess-site)
    Kasper> in your $HOME/.emacs, that means you simply create a text file in your 
    Kasper> home directory called .emacs (perhaps there is one already?)

    Kasper> The require command only works if you have installed ess "in a place 
    Kasper> where your version of Emacs looks for it". In case there are problems, 
    Kasper> you simply replace the
    Kasper> (require 'ess-site)
    Kasper> line with
    Kasper> (load "ESSDIR/ess-VERSION/lisp/ess-site")

    Kasper> On my system I have installed ess in 
    Kasper> /usr/share/emacs/site-lisp  (=ESSDIR)
    Kasper> so I have a sub directory called 
    Kasper> ess-5.2.0/lisp  (I know, I know, I should update)

yes, really, please -- so that we get feedback from you about
the features of 5.2.5

    Kasper> So the whole load command simply becomes
    Kasper> (load "/usr/share/emacs/site-lisp/ess-5.2.0/lisp/ess-site")

    Kasper> Actually pretty easy!


    Kasper> On a side note, if you have compiled R yourself you need the Readline 
    Kasper> library to get command recall. If you have installed it using a RPM I am 
    Kasper> greatly mystified that it does not have this capability!

????  I don't understand what you are saying:

When you use ESS,  R is explicitly called with  --no-readline
(or --ess on M$-Windows) and in ESS
command line recall always works (and independently of readline) 

???

    Kasper> Kasper

    Kasper> On Fri, Feb 25, 2005 at 06:01:49PM +0100, Dario Riccardo Valenzano  wrote:
    >> Once I find the following line:
    >> 
    >> ////////////////////////////////////////////////////////////
    >> 
    >> Add the line
    >> 
    >> (load "ESSDIR/ess-VERSION/lisp/ess-site")
    >> 
    >> 
    >> to your user or system installation file (GNU Emacs
    >> uses $HOME/.emacs and XEmacs uses
    >> $HOME/.xemacs/init.el for the user initialization
    >> file. GNU Emacs uses default.el or site-init.el and
    >> XEmacs uses site-start.el for the system
    >> installation
    >> file).
    >> 
    >> Alternatively, if ess-site.el is in your current
    >> Lisp
    >> path, you can do:
    >> 
    >> (require 'ess-site)
    >> 
    >> ////////////////////////////////////////////////////////////
    >> 
    >> Where should I put it?
    >> I mean, the system installation file for emacs is 
    >> /etc/emacs/site-start.el
    >> but I have no clue for where to put it.
    >> 
    >> I tried to insert it evenly but I messed up the file. Now 
    >> is ok again.
    >> 
    >> Thanx
    >> 
    >> "He who understands baboon would do more towards 
    >> metaphysics than Locke himself" (Darwin)
    >>




More information about the ESS-help mailing list