[R] How to run R on Emacs+ESS

Duke duke.lists at gmx.com
Tue Sep 7 21:44:57 CEST 2010


  On 9/6/10 12:18 PM, Stephen Liu wrote:
> Hi folks,
>
> Debian 504 64-bit
>
> I found following document;
> http://www.biostat.wisc.edu/~kbroman/Rintro/
>
> Whether it is the right document for installing Emacs+ESS and R so that R can
> run on Emacs?

A lot on the web. Google gave me for example: 
http://www.u.arizona.edu/~crhummel/install.pdf. In ESS homepage, in the 
zip dowload there is README file instructing how to install ESS as well.

Basically you need:

  * Download latest ESS 
(http://ess.r-project.org/index.php?Section=download). Extract. Locate 
the *lisp* folder (for example: ~/Downloads/ess-5.11/lisp)
  * Add below codes to your ~/.emacs (created if not existed)

;; R (ESS add-on)
(add-to-list 'load-path "~/Downloads/ess-5.11/lisp")
(require 'ess-site)

Now you should be good to go!

D.

> TIA
>
> B.R.
> Stephen L
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list