Today a new version of RStudio (v0.96) is available for download from our website. The main focus of this release is improved tools for authoring, reproducible research, and web publishing. This means lots of new Sweave features as well as tight integration with the knitr package (including support for creating dynamic web reports with the new R Markdown and R HTML formats).
We’ve also added some other frequently requested editing features including code folding. Here’s a short video demo of the new authoring and web publishing features:
We’re particularly excited about the new possibilities opened up by R Markdown, which make it easier than ever to create web content with R. On June 5th in New York we’ll talking about the latest releases of knitr and RStudio with Yihui Xie (knitr) and Jeff Horner (R/Apache and Rook):
http://www.meetup.com/nyhackr/events/64279002/
We’ll also be announcing some more new stuff at the meetup—hope to see you there!
You can download RStudio 0.96 from our website now. Here’s a list of all the new features:
Sweave / knitr
- Spell checking for Sweave and TeX documents.
- Integrated PDF previewer that supports two-way synchronization (SyncTeX) between the editor and PDF view.
- Support for weaving Rnw files using the knitr package (requires knitr version 0.5 or higher).
- Parsing of TeX error logs to extract errors, warnings, and bad boxes and present them in a navigable list.
- Chunk option auto-complete, chunk folding, jump to chunk, and iterative execution of chunks.
- Compilation based on multiple input files (support for specifying a root TeX document) .
- TeX formatting commands, block comment/uncomment, and various new compilation options.
Web Publishing
- Editing and previewing R Markdown and R HTML files (like Sweave except for web pages).
- Creation of easy to distribute standalone HTML files (with embedded images).
- Support for including LaTeX, ASCIIMath, and MathML equations in web pages using MathJax.
Source Editing
- Find in files with regular expressions.
- Code folding (expanding and collapsing regions of code).
- Automatic comment reflowing (Cmd+Shift+/).
- Smart editing of Roxygen comments.
- Syntax highlighting for Markdown, HTML, Javascript, and CSS files.
- New font customization options.
Miscellaneous
- Fixed incompatibility with Winbind for PAM authentication.
- Fixed editor cursor off by one line problem that occurred after rapid scrolling.




10 comments
Comments feed for this article
May 14, 2012 at 4:20 pm
MikeJackTzen
Terrific! This is a big jump in the right direction
May 14, 2012 at 4:44 pm
Stochos
Debugging: show line number and helpful error information
The previous versions could not determine the line number of code when I have a script that does execute or contains an error..
Debugging capability like this is a fundamental feature of an IDE.
Is this feature be included in v0.96?
May 14, 2012 at 4:47 pm
jjallaire
Hi there,
Debugging is not in version 0.96 but we definitely plan to add in a future release!
J.J.
May 14, 2012 at 6:42 pm
Alex
Terrific!! Keep up the great work!
May 15, 2012 at 5:02 pm
chrisbeeleyimh
Spellcheck. Code folding. Parsing TeX errors. PDF preview.
Words cannot describe the win. Thank you RStudio! You rock!
May 22, 2012 at 10:52 pm
wn
my god!! incredible! I love this editor! i should think how to persuade people in my office to give their contribution for continuing development (and for other FOSS as well).
May 28, 2012 at 8:54 pm
The R-Podcast Episode 7: Best Practices for Workflow Management » The R-Podcast
[...] RStudio v0.96 release notes: http://blog.rstudio.org/2012/05/14/rstudio-v096/ [...]
June 2, 2012 at 5:53 am
Walking Randomly » A Month of Math Software – May 2012
[...] a tool that allows to embed the R code for complete data analyses in latex documents) and more. See this blog post for all of the [...]
September 20, 2012 at 3:47 pm
Gilles
Hello
Rstudio looks very attractive and from time to time I have look at it and I’m impressed by the possibilities it offers but eventually I never took the decision to use it for my everyday work.
The main reason for this is that I cannot open a detachable plot window and specify its size from the code like in : dev.new(width = 12, height = 6). I don’t understand how other people work with graphics but in order to carefully design graphics for publication it seems important to be able to display the exact size of the graph on the screen and ajust all parameters (of course this is not important for exploratory plots). In that domain Rstudio restricts R capabilities instead of extending it…
This is probably the only reason that empeach me to use it. Furthermore there are some other little points I don’t like. Globbaly I would say that I would like to have more personalisation options. For instance :
- the possibility to detach most windows as many other people have requested. (on my 14′ laptop, it is better to have several partially covered windows and navigate between them with alt+tab than one frame divided in very small parts)
- the possibility to personalize the keybord shortcuts. For instance I don’t like the ctrl+enter shortcut. I would prefer ctrl+R because I can then use the left hand to submit code and keep my right hand on my laptop touchpad. Also the ctrl+shift+< shortcut to add a code shunk don't seem to work on my computer.
- as a spin() user, I like the "compile an HTML notebook" button, but I would like to be able to specify somewhere more options. For instance I use '##' to specify markdown part of my scripts instead of the default roxygen comment #'
September 20, 2012 at 4:08 pm
jjallaire
Hi Giles,
Thanks for your comments. The things you are asking for are definitely in our plans but we haven’t quite had enough time to implement them yet. In the meantime a few suggestions:
(1) If you are running on the desktop you can choose to use the native graphics device rather than the RStudio graphics device (and thus gain the larger more customizable size as well as the graph as an overlapping window). To do this on the respective platforms you would use either the windows(), quartz(), or x11() function.
(2) In a recent update to v0.96 we made Ctrl+R work for running lines of code in addition to Ctrl+Enter (we did this on Windows but not on the other platforms because Ctrl+R has historically been used in R GUI but not in the front-ends of other platforms)
(3) In the next version of RStudio we’ve changed the Insert Chunk command to use Option+Ctrl+I as a shortcut (because many users had problems with the previous shortcut — there must be a common variety of keyboard configuration that prevents it from being used).
(4) I haven’t tried this, but you might be able to tell knitr to use a different escape for markdown by adding an option line with the prefix #+.
Thanks again for the feedback and rest assured we are working hard to remedy these concerns.
J.J.