This is the README file for the distribution of ESS version
5.2.3
The first release of the 5.2 series. ESS is a GNU Emacs and XEmacs mode for interactive statistical programming and data analysis. Languages supported: the S family (S 3/4, S-PLUS 3/4/5/6, and R), SAS, XLispStat, Stata and BUGS. Installation help can be found in sections for both Unix and Windows. ESS grew out of the desire for bug fixes and extensions to S-mode and SAS-mode as well as a consistent union of their features in one package.
The current development team is led by Martin Maechler since August 2004. Former project leader A.J. (Tony) Rossini (rossini@biostat.washington.edu) did the initial port to XEmacs and has been the primary coder. Martin Maechler (maechler@stat.math.ethz.ch) and Kurt Hornik (hornik@ci.tuwien.ac.at) have assisted with S-PLUS, S4, R, and XLispStat. Stephen Eglen (stephen@gnu.org) has worked mostly on R support. Richard M. Heiberger (rmh@temple.edu) has assisted with S-PLUS and S4 development for Windows. Richard and Rodney A. Sparapani (rsparapa@mcw.edu) have done much of the work implementing interactive SAS (iESS[SAS]) and batch SAS (ESS[SAS]) support.
We are grateful to the previous developers of S-mode (Doug Bates, Ed Kademan, Frank Ritter, David M. Smith), SAS-mode (Tom Cook) and Stata-mode (Thomas Lumley).
ESS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
ESS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License in the file COPYING in the same directory as this file for more details.
Changes/New Features in 5.2.3:
Changes/New Features in 5.2.2:
Changes/New Features in 5.2.1:
Changes/New Features in 5.2.0:
Changes/New Features in 5.1.24:
Changes/New Features in 5.1.23:
Changes/New Features in 5.1.22:
Changes/New Features in 5.1.21:
Changes/New Features in 5.1.20:
Changes/New Features in 5.1.19:
Changes/New Features in 5.1.18:
Changes/New Features in 5.1.17:
Changes/New Features in 5.1.16:
Changes/New Features in 5.1.15:
Changes/New Features in 5.1.14:
Changes/New Features in 5.1.13:
Changes/New Features in 5.1.12:
Changes/New Features in 5.1.11:
Changes/New Features in 5.1.10:
Changes/New Features in 5.1.9:
Changes/New Features in 5.1.8:
Changes/New Features in 5.1.2:
Versions 5.2.x are meant to be release-quality versions. While some new features are being introduced, we are cleaning up and improving the interface. We know about some remaining documentation inconsistencies. Patches or suggested fixes with bug reports are much appreciated!
ESS has been tested with
on the following platforms
with the following versions of emacs
The latest version of ESS is always available on the web at: ESS web page or StatLib
The latest development version of ESS is available via https://svn.R-project.org/ESS/, the ESS Subversion repository. If you have a Subversion client (see http://subversion.tigris.org/), you can download the sources using:
% svn checkout https://svn.r-project.org/ESS/trunk path
which will put the ESS files into directory path. Later, within that directory, `svn update' will bring that directory up to date. Windows-based tools such as TortoiseSVN are also available for downloading the files. Alternatively, you can browse the sources with a web browser at: ESS SVN site. However, please use a subversion client instead to minimize the load when retrieving.
If you remove other versions of ESS from your emacs load-path, you can then use the development version by adding the following to .emacs:
(load "/path/to/ess-svn/lisp/ess-site.el")
Note that https is required, and that the SSL certificate for the Subversion server of the R project is
Certificate information:
- Hostname: svn.r-project.org
- Valid: from Jul 16 08:10:01 2004 GMT until Jul 14 08:10:01 2014 GMT
- Issuer: Department of Mathematics, ETH Zurich, Zurich, Switzerland, CH
- Fingerprint: c9:5d:eb:f9:f2:56:d1:04:ba:44:61:f8:64:6b:d9:33:3f:93:6e:ad
(currently, there is no "trusted certificate"). You can accept this certificate permanently and will not be asked about it anymore.
We now discuss installation, which might happen under Unix or Microsoft Windows. First, we discuss Unix installation. See Unix installation.
For Microsoft Windows Installation please skip to the See Microsoft Windows installation.
gunzip ess-VERSION.tar.gz
tar xvf ess-VERSION.tar
(or:gunzip < ess-VERSION.tar.gz | tar xvf -). (or using GNU tar:tar zxvf ess-VERSION.tar.gz).
The tar command will create the subdirectory ess-VERSION and unarchive
the files there.
ESSDIR/ess-VERSION/lisp/ess-site.el as explained in the
comments section of that file.
(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)
to configure emacs for ESS.
M-x R.
C-x d to the
directory containing ESS. Now:
M-x S+6
to get S running. Once you see the SPLUS prompt, do:
M-x ess-create-object-name-db
(this will create the file ess-s+6-namedb.el; if it isn't in the
ESS directory, move it there).
Then, completions will be autoloaded and will not be regenerated for every session.
For R, do the same, using
M-x R
and then M-x ess-create-object-name-db creating
ess-r-namedb.el; if it isn't in the ESS directory, move it there).
If you want to place the compiled files in other locations edit the LISPDIR and INFODIR
entries in Makeconf in the ESSDIR/ess-VERSION directory (if you are using XEmacs,
then you also need to edit the EMACS entry as follows: EMACS=xemacs).
You can compile those files by:
make all
When that completes successfully, install the compiled files:
make install
This will install the compiled info files and lisp files. If you are an
XEmacs user, then you should be done. If not, then you may have to
edit/create the file dir that is found in the directory specified
by INFODIR: see the sample dir in ESSDIR/ess-VERSION/doc/info.
If dir does not exist in INFODIR, then the sample
dir will be installed.
Note 1: It is assumed that GNU make will be used; otherwise,
edit the ESSVERSION and ESSVERSIONTAG entries in Makeconf
appropriately, e.g.: ESSVERSION=5.2.0 and ESSVERSIONTAG=ESS-5-2-0
Note 2: ESS can be installed for XEmacs as an XEmacs package much more easily than what has been described anywhere above. However, the latest ESS version will not be available at the same time as an XEmacs package; generally, it can take weeks or months to appear in the latter format. For more information on installing ESS as an XEmacs package see Quickstart Package Guide.
For Microsoft Windows installation, please follow the next steps: (see separate instructions above for UNIX See Unix installation.
c:\emacs\) to hold the distribution. This
directory will be referred to below as "the ESS distribution
directory". It will contain, at the end, either the tar file
ess-VERSION.tar.gz or the zip file ess-VERSION.zip, and a
directory
for the ESS source, which will be termed "the ESS-VERSION source
directory".
ess-VERSION.tar.gz or the
zipped file ess-VERSION.zip from one of the FTP or WWW
archive sites
via FTP (or HTTP). Be aware that http browsers on Windows
frequently change the "." and "-" characters in filenames to other
punctuation. Please change the names back to their original form.
ess-VERSION.tar.gz to the location where you want the
ess-VERSION directory, for example to
c:\emacs\ess-VERSION.tar.gz, and cd there. For example,
cd c:\emacs
Extract the files from the distribution, which will unpack
into a subdirectory, ess-VERSION.
gunzip ess-VERSION.tar.gz
tar xvf ess-VERSION.tar
(or: gunzip < ess-VERSION.tar.gz | tar xvf - ).
(or: from the zip file: unzip ess-VERSION.zip)
The tar command will extract files into the current directory.
Do not create ess-VERSION yourself, or you will get an extra level
of depth to your directory structure.
c:\autoexec.bat
file:
path=%PATH%;c:\progra~1\spls2000\cmd
On Windows NT/2000/XP, add the directories to the PATH using the
My Computer/Control Panel/System/Advanced/Environment Variables menu.
Note that the directory containing the program is
added to the PATH, not the program itself. One such line is needed
for each software program. Be sure to use the abbreviation
progra~1 and not the long version with embedded blanks. Use
backslashes "\".
(load "/PATH/ess-site")
to your .emacs (or _emacs) file (or default.el or site-init.el, for
a site-wide installation). Replace /PATH above with the
value of ess-lisp-directory as defined in ess-site.el. Use
forwardslashes /.
(GNU Emacs uses the filename %HOME%/.emacs and
XEmacs uses the filename %HOME%/.xemacs/init.el
for the initialization file.)
To start the S-PLUS 6.x GUI from ESS under emacs:
M-x S
(or M-x S+6).
You will then be
asked for a pathname ("S starting data directory?"), from which to
start the process. The prompt will propose your current directory
as the default. ESS will start the S-PLUS GUI. There will be
slight delay during which emacs is temporarily frozen. ESS will arrange for
communication with the S-PLUS GUI using the DDE protocol.
Send lines or regions
from the emacs buffer containing your S program (for example,
myfile.s) to the S-PLUS Commands Window with the
C-c C-n or C-c C-r keys.
(If you are still using S-PLUS 4.x or 2000, then use M-x S+4.)
To start an S-PLUS 6.x session inside an emacs buffer--and without the S-PLUS GUI:
M-x Sqpe
(or M-x Sqpe+6).
You will then be asked for a pathname ("S starting data
directory?"), from which to start the process. The prompt will
propose your current directory as the default.
You get Unix-like behavior, in particular the entire
transcript is available for emacs-style search commands.
Send lines or regions from the emacs buffer containing your S
program (for example, myfile.s) to the *S+6* buffer with the
C-c C-n or C-c C-r keys.
Interactive graphics are available with Sqpe by using the java
library supplied with S-PLUS 6.1 and newer releases.
Enter the commands:
library(winjava)
java.graph()
Graphs can be saved from the java.graph device
in several formats, but not PostScript. If you
need a PostScript file you will need to open a separate
postscript device.
(If you are still using S-PLUS 4.x or 2000, then use M-x Sqpe+4.)
To connect to an already running S-PLUS GUI (started, for example, from the S-PLUS icon):
M-x S+6-existing
You will then be
asked for a pathname ("S starting data directory?"), from which to
start the process. The prompt will propose your current directory
as the default. ESS will arrange for
communication with the already running S-PLUS GUI using the DDE protocol.
Send lines or regions
from the emacs buffer containing your S program (for example,
myfile.s) to the S-PLUS Commands Window with the
C-c C-n or C-c C-r keys.
(If you are still using S-PLUS 4.x or 2000, then use M-x S+4-existing.)
If you wish to run R, you can start it with:
M-x R
XLispStat can not currently be run with
M-x XLS
Hopefully, this will change. However, you can still edit with
emacs, and cut and paste the results into the XLispStat
*Listener* Window under Microsoft Windows.
C-x d to
the directory containing ESS. Now:
M-x Sqpe+6
to get S running. Once you see the SPLUS prompt, do:
M-x ess-create-object-name-db
(this will create the file ess-s+6-namedb.el; if it isn't in the
ESS directory, move it there).
Then, completions will be autoloaded and will not be regenerated for every session.
For R, do the same, using
M-x R
and then M-x ess-create-object-name-db creating
ess-r-namedb.el; if it isn't in the ESS directory, move it
there).
Please send bug reports, suggestions etc. to
<A HREF="mailto:ESS-bugs@stat.math.ethz.ch"> ESS-bugs@stat.math.ethz.ch </A>
The easiest way to do this is within Emacs by typing
M-x ess-submit-bug-report
This also gives the maintainers valuable information about your installation which may help us to identify or even fix the bug.
If Emacs reports an error, backtraces can help us debug the problem. Type "M-x set-variable RET debug-on-error RET t RET". Then run the command that causes the error and you should see a *Backtrace* buffer containing debug information; send us that buffer.
Note that comments, suggestions, words of praise and large cash donations are also more than welcome.
There is a mailing list for discussions and announcements relating to ESS. Join the list by sending an e-mail with "subscribe ess-help" (or "help") in the body to ess-help-request@stat.math.ethz.ch; contributions to the list may be mailed to ess-help@stat.math.ethz.ch. Rest assured, this is a fairly low-volume mailing list.
The purposes of the mailing list include
requires the files.el patch to revert-buffer for the Local Variables updating problem
These releases of emacs are no longer supported, so an upgrade is recommended if you plan to use ESS. If you have GNU Emacs 19.29, see See Unix installation. Also, note that the `custom' library bundled with Emacs 19.34 is too _old_, its API is incompatible with the `new custom' bundled with recent Emacsen. The `new custom' for Emacs 19.34 is available for download here.