This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Emacs Speaks Statistics" – news · newspapers · books · scholar · JSTOR (November 2018) (Learn how and when to remove this message)
Emacs Speaks Statistics
Stable release
TypeCross-platform#Cross-platform development environments

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

  1. ESS modes for editing statistical languages like R, SAS and Julia; 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 JAGS 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.

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