Emacs Speaks Statistics

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Emacs Speaks Statistics
R running in emacs with ESS
Gnu emacs in ESS and iESS mode. In the upper window, S code is edited in emacs' ESS mode. In the lower window the S code is executed by R via iESS.
Stable release 12.09
Type Cross-platform#Cross-platform_development_environments
License GPL
Website ess.r-project.org

Emacs Speaks Statistics (ESS) is an Emacs package of modes for statistical languages. It adds two types of modes to emacs:

  1. ESS modes for editing statistical languages like R and SAS; and
  2. inferior ESS (iESS) modes for interacting with statistical processes like R and SAS.

Modes of types (1) and (2) work seamlessly together. In addition, modes of type (1) provide the capability to submit a batch job for statistical packages like SAS, BUGS or Just another Gibbs sampler when an interactive session is unwanted due to the potentially lengthy time required for the task to complete.

With Emacs Speaks Statistics, the user can conveniently edit statistical language commands in one emacs buffer, and execute the code in a second. There are a number of advantages of doing data analysis using Emacs/ESS in this way, rather than interacting with R, S-PLUS or other software directly. First, as indicated above, ESS provides a convenient way of writing and executing code without frequently switching between programs. This also encourages the good practice of keeping a record of one's data analysis, equivalent to working from do-files in Stata. Third, since emacs is also an able editor of LaTeX files, it facilitates the integration of data analysis and written text with Sweave.

External links[edit]

ESS is freely available for download from the ESS website, which also contains documentation and links to a mailing list.