Today a new version of RStudio (v0.97) is available for download from our website. The principal focus of this release was creating comprehensive tools for R package development. We also implemented many other frequently requested enhancements including a new Vim editing mode and a much improved Find and Replace pane. Here’s a summary of what’s new in the release:
Package Development
- A new Build tab with package development commands and a view of build output and errors
- Build and Reload command that rebuilds the package and reloads it in a fresh R session
- Create a new package using existing source files via New Project
- R documentation tools including previewing, spell-checking, and Roxygen aware editing
- Integration with devtools package development functions
- Support for Rcpp including syntax highlighting for C/C++ and gcc error navigation
Source Editor
- Vim editing mode
- Tomorrow suite of editor themes
- Find and replace: incremental search, find/replace in selection, and backwards find
- Auto-indenting: improved intelligence and new options to customize indenting behavior
- New options: show whitespace, show indent guides, non-blinking cursor, focus console after executing code
More
- New Restart R and Terminate R commands
- More intelligent console history navigation with up/down arrow keys
- View plots within a separate window/monitor.
- Ability to set a global UI zoom-level
- RStudio CRAN mirror (via Amazon CloudFront) for fast package downloads
There are also many more small improvements and bug fixes. Check out the v0.97 release notes for details on all of the changes.



27 comments
Comments feed for this article
November 1, 2012 at 5:57 pm
Ming
I am using R-studio on Mac, and I would like to know why you decided to change the View function to use X-11? It become really inconvenient to scroll compared with the original way. Thank you
November 2, 2012 at 9:40 am
jjallaire
Hi there,
The RStudio data viewer can now be invoked by the viewData function (you’ll see that when you click a data frame or matrix in the workspace).
J.J.
November 2, 2012 at 9:41 am
jjallaire
The tab key definitely should still work in the script tab — does the file type of your script (displayed in the bottom right hand corner) display as “R Script”?
J.J.
November 2, 2012 at 12:52 pm
Ming
It was a untitled new R script..
Thanks for the reply, but I downgraded to 0.96 now..
The biggest problem for me is that I am using trackpad, and when I double click on any string, it cannot be selected in 0.97. It’s really weird…..
November 1, 2012 at 7:24 pm
Ming
One more problem, tab key is not working in the script editing tab. It can only work in the console to find the existing functions and variables.. Is it a normal case?
November 1, 2012 at 11:50 pm
mrigesh
With latest version I cannot get vim to start. When I use the fix function i get the notepad editor. Furthermore, i cannot turn off the vim enabling code from the menu selection. is there a way to load the older version of rstudio?
November 2, 2012 at 9:46 am
jjallaire
You can download any previous version of RStudio by forming a URL to our daily build bucket like so:
https://s3.amazonaws.com/rstudio-dailybuilds/RStudio-0.96.331.exe
That will download the last release of v0.96 for windows (you can see a list of all of our releases here: http://support.rstudio.org/help/kb/faq/rstudio-release-history).
November 2, 2012 at 11:58 am
renb
Hello. After upgrading, when I use the package Rbbg (api to Bloomberg) which uses rJava, it always fails with “out of memory, unable to create new native thread” error. But it runs fine in R outside Rstudio. It seems to be RStudio specific. Any idea why?
November 2, 2012 at 12:00 pm
jjallaire
I unfortunately don’t have any informed speculation about what might be going on here (no changes on our end to threading). Does it work with RStudio v0.96?
J.J.
November 2, 2012 at 12:25 pm
renb
yes it does. i guess it has sth to do with the way the new version of Rstudio starts R session.
November 2, 2012 at 12:53 pm
jjallaire
Okay, there isn’t any change I’m aware of that would cause a failure like this. We’ll investigate further and hopefully discover what’s going on.
November 3, 2012 at 3:26 pm
Tim Johnson
I’m also finding that in this latest version fix() invokes a generic notepad editor rather than the Rstudio editor window (with syntax highlighting and such). This happens for the Windows version but not Linux. Are others having this issue and is there a fix?
November 3, 2012 at 3:47 pm
jjallaire
Hi Tim,
We made some changes to the way we hook into edit/fix that caused this behavior to change. We’ll investigate further and see if there is a way we can get the RStudio editor working again for these functions.
J.J.
November 3, 2012 at 4:57 pm
Tim Johnson
Fantastic. Thank you for your reply.
November 12, 2012 at 4:56 am
Fabio Milillo
Hi Tim, I am having exactly the same problem (Windows Vista, Rstudio 0.97.168).
Further on, when I double click on
pane Workspace>Values>Objectblabla,
nothing happens, whilst in past version (96.??) the editing windows opened.
Fabio
November 4, 2012 at 5:49 am
Walking Randomly » A Month of Math Software – October 2012
[...] The fantastic GUI/IDE for R, R Studio, has been updated to version 0.97. See the RStudio blog for the new goodness. [...]
November 5, 2012 at 8:06 am
NP
> View plots within a separate window/monitor
I wonder how this is achieved? I couldn’t see any changes here, at first glance. Is the Plots tab in the Workspace supposed to pop out now?
November 5, 2012 at 8:15 am
jjallaire
You click the Zoom button which will show another resizable window with the plot (this window will continue to stay in sync with the main Plots pane as you create new plots, etc.)
J.J.
November 6, 2012 at 9:08 pm
Antonio Pedro
Thanks for the updates and fixes. I just don’t understand how different this is from the previous version. Cheers, Antonio Pedro.
November 12, 2012 at 7:50 am
NP
Ah, great! So much better with multi-monitor setups now, thanks.
November 7, 2012 at 8:23 am
Klaus
Wow, RStudio has changed to a professinal IDE. I am excited about the new features, especially the support of the package build process. Now missing things for me are mainly a debugging tool and task view (for ToDo comments).
Greetings
Klaus
November 7, 2012 at 3:59 pm
RStudio 0.97 – SenPEP's members blog
[...] announcement gives a detailed list of what is new in this [...]
January 26, 2013 at 2:22 pm
Sean
OS X 10.8.2, Just installed the new version of R studio so I could work on a separate project for a few minutes and not interrupt my ongoing work in R64.
The new version crashes on launch for me for some reason, here is the error message:
The R session had a fatal error.
ERROR r error 4 (R code execution error) [errormsg=Error in identical(call[[1L]], quote(doTryCatch)) :
6 arguments passed to .Internal(identical) which requires 5
, code=local(source(“/Applications/RStudio.app/Contents/Resources/R/Tools.R”, local=TRUE, echo=FALSE, verbose=FALSE, encoding=’UTF-8′))]; OCCURRED AT: core::Error r::exec::::evaluateExpressions(SEXP, SEXP, SEXP *, sexp::Protect *) /Users/rstudio/rstudio/src/cpp/r/RExec.cpp:147
January 26, 2013 at 2:36 pm
jjallaire
Hi there,
This error typically occurs when you have one version of R that is launched which then connects to libraries from an older version of R. In this case the newer version of R is calling the identical function with 6 arguments and the (older) version of the base library receiving the call expects only 5. Once you make sure you’ve got only one version of R active you should have no problems.
J.J.
January 26, 2013 at 3:57 pm
Sean
Locating and removing all previous versions of the R framework from /Library/Frameworks/R.framework/ indeed fixed the problem completely.
Thank you very much!
January 30, 2013 at 1:26 pm
jjap
Kudos for the Vim editing mode ! The whole product is awesome of course, but having minimal Vim features makes the difference. Many many thanks!
February 27, 2013 at 10:25 am
Nicolás Leveroni
First of all, thanks. This is a wonderful peace of software. All R users had been waiting for something like this for so long…
Second, I would like to list the 3 things I think would make R-Studio “perfect”.
1) To be able to edit the content of variables in a spread sheet like environment. this means to be able to edit “cells” with the rstudio::viewData() function by double clicking, and copy-pasting data from, for example, a spreadsheet.
2) Being able to un-dock panels.
3) A debugging mode.
This are the main functionalities it lacks (for me as a user) compared to matlab’s IDE…
Thanks!
And I’m sorry for asking for more free stuff and comparing it with an expensive piece of software like matlab!