May 26 2015
3 min

New Version of RStudio (v0.99) Available Now

We’re pleased to announce that the final version of RStudio v0.99 is available for download now. Highlights of the release include:

• A new data viewer with support for large datasets, filtering, searching, and sorting.

• Complete overhaul of R code completion with many new features and capabilities.

• The source editor now provides code diagnostics (errors, warnings, etc.) as you work.

• User customizable code snippets for automating common editing tasks.

• Tools for Rcpp: completion, diagnostics, code navigation, find usages, and automatic indentation.

• Many additional source editor improvements including multiple cursors, tab re-ordering, and several new themes.

• An enhanced Vim mode with visual block selection, macros, marks, and subset of : commands.

There are also lots of smaller improvements and bug fixes across the product. Check out the v0.99 release notes for details on all of the changes.

### Data Viewer

We’ve completely overhauled the data viewer with many new capabilities including live update, sorting and filtering, full text searching, and no row limit on viewed datasets.

See the data viewer documentation for more details.

### Code Completion

Previously RStudio only completed variables that already existed in the global environment. Now completion is done based on source code analysis so is provided even for objects that haven’t been fully evaluated:

Completions are also provided for a wide variety of specialized contexts including dimension names in [ and [[:

### Code Diagnostics

We’ve added a new inline code diagnostics feature that highlights various issues in your R code as you edit.

For example, here we’re getting a diagnostic that notes that there is an extra parentheses:

Here the diagnostic indicates that we’ve forgotten a comma within a shiny UI definition:

A wide variety of diagnostics are supported, including optional diagnostics for code style issues (e.g. the inclusion of unnecessary whitespace). Diagnostics are also available for several other languages including C/C++, JavaScript, HTML, and CSS. See the code diagnostics documentation for additional details.

### Code Snippets

Code snippets are text macros that are used for quickly inserting common snippets of code. For example, the fun snippet inserts an R function definition:

If you select the snippet from the completion list it will be inserted along with several text placeholders which you can fill in by typing and then pressing Tab to advance to the next placeholder:

Other useful snippets include:

• lib, req, and source for the library, require, and source functions

• df and mat for defining data frames and matrices

• if, el, and ei for conditional expressions

• apply, lapply, sapply, etc. for the apply family of functions

• sc, sm, and sg for defining S4 classes/methods.

See the code snippets documentation for additional details.

### Try it Out

RStudio v0.99 is available for download now. We hope you enjoy the new release and as always please let us know how it’s working and what else we can do to make the product better.

Tags: