RStudio Beta 2 (v0.93) is available for download today. We’ve gotten incredibly helpful input from the R community and this release reflects a lot of that feedback.
The release notes have the full details on what’s new. Some of the highlights include:
Source Editor Enhancements
- Highlight all instances of selected text
- Insert spaces for tabs (soft-tabs)
- Customizable print margin line
- Selected line highlight
- Toggle line numbers on/off
- Optional soft-wrapping for R source files
Customizable Layout and Appearance
- The layout of panes and tabs is now configurable (enabling side-by-side source and console view, among others).
- Support for a variety of editing themes, including TextMate, Eclipse, and others.
This release features manipulate, a new interactive plotting feature that enables you to create plots with inputs bound to custom controls (e.g. slider, picker, etc.) rather than hard-coded to a single value. For example:
manipulate( <span style="color:#aaa;"># plot expression</span> plot(cars, xlim = c(0, <span style="color:#c00;">x.max</span>), type = <span style="color:#0a0;">type</span>, ann = <span style="color:#00c;">label</span>), <span style="color:#aaa;"># controls</span> <span style="color:#c00;">x.max</span> = slider(10, 25, step = 5, initial = 25), <span style="color:#0a0;">type</span> = picker("Points" = "p", "Line" = "l", "Step" = "s"), <span style="color:#00c;">label</span> = checkbox(TRUE, "Draw Labels") )
- RStudio now works with versions of R installed from source (either via make install or packaged by MacPorts, Homebrew, etc.).
- Enhanced support for Unicode and non-ASCII character encodings.
- Improved working directory management including new options for default behavior, support for shell “open with” context menus, and optional file assocations for common R file types (.RData, .R, .Rnw).
- Many other small enhancements and bug fixes (see the release notes for full details).
We hope you try out the new release and keep talking to us on our support forum about what works, what doesn’t, and what else you’d like RStudio to do.