[ESS] ess and emacs installation

Marc Schwartz MSchwartz at mn.rr.com
Fri Dec 30 20:52:27 CET 2005

On Fri, 2005-12-30 at 14:28 -0500, Mark Leeds wrote:
> If someone could help me, I would
> REALLY appreciate it because I
> have gone through 2 days of trying
> to install Ess with XEmacs on NT
> and I don't want to give up
> but I have given up trying
> to figure it out on my own.
> I have downloaded XEmacs
> without a problem.
> It creates directories such as 
> Program_Files\XEmacs\Packages\
> ( but it doesn't have ES bundled which
> cost me a day because I was
> reading some other older documentation 
> that assumes it is bundled ).
> Then , under this folder there  is
> mule_packages
> site_packages
> xemacs_packages
> and under the xemacs_packages there is 
> a lisp folder.
> When I am unzipping the ess files, what directory should
> I be unzipping them to ?  When you unzip it,
> it creates its own lisp folder also, so I think this
> where I am messing up. Or, atleast I hope this is
> where I am messing up.  I am using the EMACS Speaks 
> Statistics document but it just says put it under c:\emacs and
> that definitely doesn't work for me.
> Also, if someone could clarify for me Step
> 6 on page 14 of the document ( adding the load command ) 
> that would be great also. that may be one of my problems also. 
> Thanks again.


I stand to be corrected on this, but as far as I know, the directory is
largely irrelevant, as long as you have the load command in your init.el
file set to point to the ess-site file (full path), wherever it is.

For example, in mine, I have:

  (load "/home/marcs/R.Files/ESS/ess-5.2.11/lisp/ess-site")

That is under Linux. Just use the full path on your Windows system, so
something like:

 (load "C:/.../ess-5.2.11/lisp/ess-site")

should work. Be sure to replace the "..." with the correct additional
directory structure to your extracted ESS tree. Note also that I used
forward slashes, rather than the usual Windows backslashes.

Under Windows, I believe that post XEmacs installation, the init.el file
will be in:

  C:\Documents and Settings\YourUserName\.xemacs

So just edit that file and add the load command as above. I have mine
towards the bottom of the file. followed by some other settings.


Marc Schwartz

More information about the ESS-help mailing list