[R] How to run R on Emacs+ESS

Stephen Liu satimis at yahoo.com
Tue Sep 7 03:01:44 CEST 2010


Hi Dirk,

Thanks for your advice.


Emacs and ESS already installed.

$ apt-cache policy emacs
emacs:
  Installed: 22.2+2-5
  Candidate: 22.2+2-5
  Version table:
     23.1+1-4~bpo50+1 0
          1 http://backports.org lenny-backports/main Packages
 *** 22.2+2-5 0
        500 http://ftp.hk.debian.org lenny/main Packages
        100 /var/lib/dpkg/status


$ 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


On terminal:
$ emacs

starts Emacs with 2 boxes;

Upper box:
Welcome to GNU Emacs .......
To quit a partially enter command, type Control-g
(I can't type here)

Lower box:
-u:%% *GNU Emacs* (tab)
For information about GNU Emacs and he GNU system, type C-h C-a
(also I can't type here)


Clicking *GNU Emacs* (tab) start another upper box (a big box):
[ess-site.el]: ess-customize-alist=nil 
[ess-site.el _2_]: ess-customize-alist=nil 
(S): ess-s-versions-create making M-x defuns for 
 
(R): ess-r-versions-create making M-x defuns for 

Type "M-x R" (without quotes) and hit [Enter]
there is no response.

Please advise.  TIA

B.R.
Stephen L




----- Original Message ----
From: Dirk Eddelbuettel <edd at debian.org>
To: Stephen Liu <satimis at yahoo.com>
Cc: r-help at r-project.org
Sent: Tue, September 7, 2010 12:32:39 AM
Subject: Re: [R] How to run R on Emacs+ESS


On 6 September 2010 at 09:18, Stephen Liu wrote:
| Hi folks,
| 
| Debian 504 64-bit

Good. All you need is 

   sudo apt-get install ess

| 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?

There is nothing else to do.  Restart (X)Emacs, whichever variant you use on
Debian, and type M-x R. You now run R inside Emacs.

After that, see http://ess.r-project.org, esp the Documentation tab.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com






More information about the R-help mailing list