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? TIA B.R. Stephen L
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
Hi Johnathan, Tried, Ctrl-x R Enter The same, no response. B.R. Stephen L Sent from my iPhone On Sep 7, 2010, at 12:53 PM, Jonathan Christensen <dzhonatan@gmail.com> wrote: Hi Stephen, Just to check: when you say you type "M-x R", are you typing the letter "M"? M-x in Emacs-speech means Meta-x, i.e., Alt-x. Jonathan On Mon, Sep 6, 2010 at 7:01 PM, Stephen Liu <satimis@yahoo.com> wrote: 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@debian.org> To: Stephen Liu <satimis@yahoo.com> Cc: r-help@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@debian.org | http://dirk.eddelbuettel.com ______________________________________________ R-help@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. [[alternative HTML version deleted]]
On Tue, Sep 7, 2010 at 1:41 AM, Stephen Liu <satimis at yahoo.com> wrote:> Hi Johnathan, > > Tried, > Ctrl-x R Enter > > The same, no response.No, not ctrl-x r. The previous poster told you to do "Alt-x R" (where Alt might be "option" on your keyboard). In emacs-speak, this modifier key (alt/opt) is written as "M" ... so M-x is "option-x" No offense, but it seems like your a complete noob w/ emacs, too (we all were at some point). It might be helpful for you to read through a few emacs tutorials to get the basics down before you keep banging your head against this wall. -steve -- 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
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. >