Re: [R] emacs and R

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Sun, 02 Mar 2008 22:31:53 +0100

Louise Hoffman wrote:
>> At the suggestion of many people, I have installed emacs on my linux (Fedora 8.0) computer with the intention of using emacs as window interface to R (2.6.0). I have gone though the emacs tutorial and don't see any information about how I should use emacs to run R. Can anyone suggest a document that I might read? In the past I have used R on a Windows XP system and used the built-in windowing interface.
>>
>
> Download Emacs Speak Statistics which is a LISP package for emacs.
> http://ess.r-project.org/
>
It's easier still (on F8):

yum install emacs-ess

and you may also notice the user-friendly menus supplementing the key combinations below. These appear automagically if you are in an R interaction buffer, or a .R or .Rout file.

    -p
> When installed you can e.g.
>
> M-x R Start an R process in Emacs
> %
> C-c C-c Sends a Control-C signal to the ESS process.
> This has the effect of aborting the current command.
> %
> C-c M-b Send the contents of the edit buffer to the ESS process
> and returns you to the ESS process buffer as well.
> %
> C-c M-r Send the text between point and mark to the ESS process and
> returns to the ESS process buffer afterwards.
> %
> C-c M-j Send the line containing point to the ESS process, and
> return to the ESS process buffer.
> %
> C-c C-n Sends the current line to the ESS process,
> echoing it in the process buffer, and moves point to the
> next line.
> %
> C-M-q Indents each line in the expression.
> %
> M-; Indents an existing comment line appropriately, or inserts
> an appropriate comment marker.
>
> ______________________________________________
> 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.
>

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard_at_biostat.ku.dk)              FAX: (+45) 35327907

______________________________________________
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.
Received on Sun 02 Mar 2008 - 21:34:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 02 Mar 2008 - 22:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive