Back when I was a grad student, I was a devoted Emacs user. I basically used it like an operating system: it wasn't just my text editor, but also my mail reader, my Web browser, my news reader, and so much more. (I once even asked our sysadmin to change my default shell to /usr/bin/emacs. He refused.) So when I started doing development in the S language, it was inevitable for me to think I could tweak some existing Emacs scripts and make it easier for me to edit S code. Sure enough, this turned into a major project (S-mode) with several collaborators, that culminated in being able to run the S interpreter within Emacs, and get (then-radical) features like command history and transcript management. When R came along, a new team adapted S-mode for R, and ESS -- Emacs Speaks Statistics -- was born.
I'm ashamed to say that while I still use Emacs occasionally, I never got around to installing it on my Mac. Today, in the ESS tutorial at useR! presented by Stephen Eglen I learned that I needn't have hesitated, because pre-compiled binaries of Emacs for Windows and Mac are available thanks to Vincent Goulet, which include ESS (and much more) pre-installed. No configuration necessary, just install and run -- I was up and running with ESS in less than 2 minutes.
If you're not familiar with ESS and want to try it out yourself, go ahead and download Emacs bundled with ESS, and check out this introduction to ESS from the CrossValidated blog, or download Stephen's tutorial slides (which also include a detailed introduction to Emacs, if you're not already familiar with the basics).
The feature I like most in ESS is the support for roxygen. I use it almost every day. Documenting functions with roxygen is really fun, which writing the raw Rd files is really pain. I plan to post something in the near future about the new exciting roxygen2 package (the old roxygen package is no longer maintained).
Posted by: Yihui | August 15, 2011 at 13:15
The combo Emacs+ESS+Org mode provides an incredible powerful environment to work with R code. Once you tried it, there is no turning back.
Posted by: Julian | August 16, 2011 at 02:56
Yes. As pretty as RStudio is, I still prefer Emacs+ESS
Posted by: John | August 16, 2011 at 17:24
In my personal experience Aquamacs for Mac OS X is still a better experience. You need then to install ESS yourself, but installation is very easy: extract the archive and point to it in .emacs. On the other hand I use Emacs solely for ESS. Strange coincidence that CrossValidated posted blog about ESS at the similar time as the talk was given in useR. ESS it seems is ready for mainstream. Thanks for mentioning CrossValidated post by the way.
Posted by: Vaidotas Zemlys | August 16, 2011 at 23:01