Site icon R-bloggers

RStudio: a cross-platform IDE for R

[This article was first published on NumberTheory » R stuff, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Which text editor do you use? Once in a while this question pops up on the R-help mailing list. Up until recently I used the KDE text editor Kate under Linux. Recently, I came across a new text editor for R, RStudio. Although the term text editor does not do it justice, it is more of an Integrated Development Environment (IDE).

RStudio is an open-source R IDE which started at the beginning of this year (2011). It divides the available area up into several panels, see also the screenshot above. One panel for source code (supporting tabs), one for the R console, one for the currently active objects/history, and finally one panel for a file browser/plot window/package install window/R help window (tabbed). The source editor supports text highlighting and allows the user to select R code and run it with a keyboard shortcut.

I really like RStudio for the integration it offers. You get one coherent view of your code, result in the R console and any plots your working on. Furthermore, it is a Java program (no worries, it works very fast ) and runs on all of the major operating systems. This makes it a very good install for Windows and Linux users who are stuck without a decent out-of-the-box environment for R. Finally, the developers are really active and open to suggestions. It is very impressive to me that they already have such an impressive product although it has been released only at the beginning of this year.

There are also points that I think can be improved. Sometimes I want to interrupt long running commands, this sometimes causes RStudio to crash. Furthermore, I would like the ability to have more than one source file in view. RStudio has support for tabs in the source editor, but splitting the screen in the style of Kate would be awesome.

In my opinion, RStudio is one of the best solutions out there to work with R. Definitely better than for example Tinn-R or Notepad++ on Windows. Give RStudio a look and I think you’ll like it. RStudio is available on:

http://rstudio.org/

To leave a comment for the author, please follow the link and comment on their blog: NumberTheory » R stuff.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.