[ESS] help on ess-5.2.5 (second)
Kasper Daniel Hansen
k.hansen at biostat.ku.dk
Fri Feb 25 21:13:48 CET 2005
The easiest is to put the
(require 'ess-site)
in your $HOME/.emacs, that means you simply create a text file in your
home directory called .emacs (perhaps there is one already?)
The require command only works if you have installed ess "in a place
where your version of Emacs looks for it". In case there are problems,
you simply replace the
(require 'ess-site)
line with
(load "ESSDIR/ess-VERSION/lisp/ess-site")
On my system I have installed ess in
/usr/share/emacs/site-lisp (=ESSDIR)
so I have a sub directory called
ess-5.2.0/lisp (I know, I know, I should update)
So the whole load command simply becomes
(load "/usr/share/emacs/site-lisp/ess-5.2.0/lisp/ess-site")
Actually pretty easy!
On a side note, if you have compiled R yourself you need the Readline
library to get command recall. If you have installed it using a RPM I am
greatly mystified that it does not have this capability!
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)
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
--
Kasper Daniel Hansen, Research Assistant
Department of Biostatistics, University of Copenhagen
More information about the ESS-help
mailing list