Today, REvolution Computing announced a major new add-on to R that we have been developing over the past year or so. The R Productivity Environment, or RPE, is a brand new interface that is designed to make creating R programs easier and more reliable. It's available now to subscription customers of REvolution R Enterprise on Windows. Here's the list of features:
- Enhanced Script Editor with hover-over help, word completion, find-across-files capability, automatic syntax checking, bookmarks, and navigation buttons.
- R Code Snippets to automatically generate fill-in-the-blank sections of R code for a variety of analyses. Tooltip help gives guidance in filling out the snippet. R function authors can write their own code snippets to share with other users.
- Object Browser allowing users to see all the data and function objects that are available, including those in loaded and installed R packages. Context menus provide the capability to quickly edit and plot data or load a package.
- Full-featured Visual Debugger for debugging R scripts, with step-in, step-over, and step-out capability, allowing users to inspect and modify R objects as they are debugging.
- A Visual Solution Explorer for organizing, viewing, adding, removing, and rearranging, and deploying R scripts. Users can create their own Project Templates for automatic creation of a set of customized scripts for a new R project.
- Dockable, Floating, and Tabbed Tool Windows allowing for personally customized workspaces.
- Enhanced Help including complete search capabilities and hover-over tooltips for functions and data objects.
You can see these features in action in the webcast I gave last week (or download the slides for more details). I've been using the RPE in the beta program for a couple of months now, and for me the two most useful features are Snippets and the Debugger.
Snippets give you the best of both worlds of menu/dialog systems and programming: you use a menu to select a standard task (like importing a file or creating a chart), but instead of just performing the action, the RPE inserts R code to do it. You use the TAB key to skip between placeholder sections in the code, and pop-up help tells you what each placeholder does, so it's almost as easy as using a dialog. But if you're a new R user, you're learning how to program in R as you go, and if you're a more advanced programmer, you save time by replicating code which you can adapt as necessary. You can create your own snippets, too.
The debugger really streamlines the process of finding and fixing mistakes in R code. You no longer have to edit a function to insert a browser() call, or use the trace() or debug() functions. Instead, all you need to do to create a breakpoint in a script or a function is click once on the line where you want the breakpoint to go. You can set as many breakpoints as you want, and then switch the RPE to Debug mode. Now when your code runs, it will stop at each breakpoint where you can inspect or change variables with the command line or Object Browser. You can then step to the next line of code (even into another function), or continue to the next breakpoint. Once you've made your changes, just switch to Release mode and all the breakpoints are disabled. (No more worries about forgetting to remove your browser() calls before you check in your code!)
By the way, the debugger functionality relies on some new capabilities of the browser() family of functions in the R 2.10 release (and we backported to R 2.9.2, which the RPE is based on). (These slides from my talk at DSC have the details.) Thanks go to Robert Gentleman and Duncan Murdoch for their help in getting these capabilities into the R codebase. Thanks too to everyone on the beta-test program for providing feedback about the debugger and the other RPE features.
P.S. REvolution R Enterprise 3.0 will also be available on MacOS and Red Hat Enterprise Linux systems. Those platforms don't have the RPE, but do have all the other enhancements for parallel programming, validation, and of course support.
REvolution Computing: REvolution R Enterprise 3.0 Now Available Featuring R Productivity Environment for Windows
Awesome, but it's not in my subscriber area for download!
Posted by: Boris Shor | November 03, 2009 at 13:02
Boris, the support team will be contacting you shortly to get you going.
Posted by: David Smith | November 03, 2009 at 14:18
They got back to me, thanks. November 12! Darn. I was so excited. Luckily I should have a new Windows 7 64bit machine with 8gb RAM to play with it by then. :)
Posted by: Boris Shor | November 03, 2009 at 15:31
Hello
All these features seem really very nice and I like it.Thank you very much for giving such a good information.You have done a good job.Keep up the good work.
Posted by: compléments alimentaires | November 04, 2009 at 03:20
Is RPE based on the Eclipse framework?
Posted by: Vlad | November 04, 2009 at 06:25
No, it's based on a Visual Studio shell (hence the Windows-based release).
Posted by: David Smith | November 04, 2009 at 07:55
Is there a free 30 days package? Or a special deal for University faculty/students ?
Posted by: Tal Galili | November 09, 2009 at 13:11
There are significant discounts for academics and students for all REvolution products (even more for institutions that join our Academic Partner program). You can find the information on our academic programs page.
Posted by: David Smith | November 10, 2009 at 08:29
Nice product!
I have built an IDE for R based on Eclipse and DLTK framework with the same feautures as yours (debugger has not been included yet). It also supports multiple R interpreters in the same workspace in order to select which of them runs your code. Additionally, the IDE also supports custom code formatting.
It has been built in order to work in Linux systems.
PD: Sorry about my poor English
Posted by: Miguel Pastor | November 23, 2009 at 07:14
What is the life cycle for Revolution R (not Enterprise)? In particular, will there be a release of Revolution R based on R 2.9.2?
Posted by: Kevin Wright | November 25, 2009 at 09:09
Kevin, yes, there will. REvolution R based on R 2.9.2 is already out for Ubuntu Linux, and versions for Windows and Mac will be out next year.
Posted by: David Smith | November 25, 2009 at 09:49