Difference between revisions of "ESS"
(Anh con may voi nhau nhin di) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | '''ESS'' (The Emacs Speaks Statistics) ([http://ess.r-project.org/ ESS]) mode provides a tight integration of the powerful [http://www.r-project.org/ GNU R] statistics system into Emacs. In addition, ESS has support for [http://www.sas.com/ SAS], BUGS (Bayesian Uniform Gibbs Sampler) and JAGS (Just another Gibbs Sampler). Finally, it also provides an equally tight integration with S-plus, direct descendant of the S language created by John Chambers at Bell Labs. It comes with an editing mode for .R files providing syntax highlighting as well as an interactive R console based on the Emacs comint mode. | |
+ | |||
+ | ESS also provides (along with [[AucTex]]) a superior editing environment for noweb files, (typically files with an Rnw extension). These files mix R code and LaTeX text and markup and can be used to facilitate reproducible research. Important commands for Sweave mode are M-n-s, which runs all the code-blocks in a Rnw file, M-n-w which copies the code chunk at point, and M-n-k, which kills the code chunk at point. | ||
+ | |||
+ | ESS also provides an interface to the R help system. Help for any topic can be accessed using C-c C-v and typing the name of a function or operator. A new buffer containing the source code for the function at point can be created using C-c C-d. | ||
+ | |||
+ | [[Org]] Mode can also be used to work with [http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R.html R source code blocks]. | ||
+ | |||
+ | [[Category:Statistics]] |
Latest revision as of 20:24, 3 July 2020
'ESS (The Emacs Speaks Statistics) (ESS) mode provides a tight integration of the powerful GNU R statistics system into Emacs. In addition, ESS has support for SAS, BUGS (Bayesian Uniform Gibbs Sampler) and JAGS (Just another Gibbs Sampler). Finally, it also provides an equally tight integration with S-plus, direct descendant of the S language created by John Chambers at Bell Labs. It comes with an editing mode for .R files providing syntax highlighting as well as an interactive R console based on the Emacs comint mode.
ESS also provides (along with AucTex) a superior editing environment for noweb files, (typically files with an Rnw extension). These files mix R code and LaTeX text and markup and can be used to facilitate reproducible research. Important commands for Sweave mode are M-n-s, which runs all the code-blocks in a Rnw file, M-n-w which copies the code chunk at point, and M-n-k, which kills the code chunk at point.
ESS also provides an interface to the R help system. Help for any topic can be accessed using C-c C-v and typing the name of a function or operator. A new buffer containing the source code for the function at point can be created using C-c C-d.
Org Mode can also be used to work with R source code blocks.