RStudio: a cross-platform IDE for R

November 11, 2011
By

(This article was first published on NumberTheory » R stuff, and kindly contributed to R-bloggers)

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 his blog: NumberTheory » R stuff.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , , ,

Comments are closed.