Duplicate
Recommendations for Windows text editor for R
Which IDE for R in Linux?
Which IDE or TextEditor do you use to write R code?
Recommendations for Windows text editor for R
Which IDE for R in Linux?
Which IDE or TextEditor do you use to write R code?
I use Eclipse with the StatET plugin.
Pros:
Supports everything you'd expect (syntax highlighting, code folding, etc..) but also has s ome nice R interaction pieces.
You get all the bells and whistles of Eclipse. For example, we use SVN with our R code and the Subclipse plugin is awesome.
Cons:
My preferred tool on all platforms is the ESS mode for Emacs.
This is ultimately a very subjective question, and will depend on your OS, etc.
I prefer Eclipse (StatET) because I use it for all my development and it has many rich features (e.g. SVN integration, Sweave/Latex integration, project management). If you use Emacs, then ESS is great. This clearly depends on what you like.
I used Tinn-R before, but ultimately I prefer to have one IDE for everything, and Eclipse has a much wider general adoption.
I've been using TINN-R for several years and have been very happy with it. It allows you to highlight portions of your code and click to send it to the interpreter, or send one line at a time or the entire file.
I actually use Textmate and enjoy it quite a bit. But I wouldn't reccomend adopting Textmate for R, however if you already use Textmate it's fantastic.
I use RGui for the analysis and Notepad++/scons to pdflatex my findings.
Another option would be Openoffice, since it is supported by Sweave, too.
I use Jedit along with Romain Francios's edit mode for R (http://romainfrancois.blog.free.fr/index.php?post/2009/03/16/A-better-jedit-edit-mode-for-R).