[R] How to run R on Emacs+ESS

Steve Lianoglou mailinglist.honeypot at gmail.com
Tue Sep 7 05:49:26 CEST 2010


Hi,

On Mon, Sep 6, 2010 at 9:01 PM, Stephen Liu <satimis at yahoo.com> wrote:
<snip>

> $ apt-cache policy ess
> ess:
>  Installed: 5.3.8~svn3917-1
>  Candidate: 5.3.8~svn3917-1
>  Version table:
>  *** 5.3.8~svn3917-1 0
>        500 http://ftp.hk.debian.org lenny/main Packages
>        100 /var/lib/dpkg/status

I believe the latest version is 5.11 -- you might want to try that.

Others my not agree with me, but I'd just try to install it w/o using
debian's package manager. ESS is actually very easy to install just by
downloading the latest release and following the install instructions.

As long as you have a running version of R (executed by running `R`
from you command line), the `M-x R` should work.

Actually, for that to work, the path for your R executable needs to be
in emacs' exec-path:
http://www.emacswiki.org/emacs/ExecPath

I think it should (by default) pull in the dirs in your $PATH variable.

Also ...

> On terminal:
> $ emacs
>
> starts Emacs with 2 boxes;

Doesn't this (emacs starting w/ 2 "boxes) usually happen when there is
some error while running emac's init code (somewhere in your .emacs
file, or another file it links to)? Unless, of course, you explicitly
make it do so but it doesn't sound like that's the case.


-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact



More information about the R-help mailing list