tags:

views:

939

answers:

8

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?

A: 

I'm not really familiar with the R-Project but I use PSPad.

It allows you to organize your (text-)files in a project style fashion.

MrThys
+1  A: 

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:

  • Eclipse is a beast.
Mark
I tried Eclipse briefly. It's very heavy to implement.
andrewj
+4  A: 

My preferred tool on all platforms is the ESS mode for Emacs.

Dirk Eddelbuettel
Dirk... any chance you can post your .emacs file (or the ESS-relevant part)?
Vince
Sure, but there isn't much to it. The R Internals manuals has section Coding Standards with a few lines the R Core team recommends for default indentation etc and I use just that, plus ESS defaults.
Dirk Eddelbuettel
+4  A: 

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.

Shane
A: 

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.

kpierce8
A: 

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.

Dan
A: 

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.

Karsten W.
A: 

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).

Rahul