RStudio IDE

RStudio v0.98 — Release Notes

v0.98.501 — January 29th, 2014

Debugging Tools

  • Set breakpoints within the source editor, both inside and outside functions
  • View object values and call stack during debugging
  • Step through code line by line
  • Error inspector for quick access to tracebacks and debugger after runtime errors
  • Integration with traditional R debugging tools, such as browser() and debug()
  • For more information see Debugging with RStudio

Environment Pane

  • Browse any environment on the search path
  • Filtering by name/value
  • Expand lists, data frames, and S4 objects inline
  • Use str() for displaying object values
  • Optional grid view sortable by various attributes
  • Many other small correctness and robustness enhancements

R Presentations

  • Easy authoring of HTML5 presentations based on R Markdown
  • Extensive support for authoring and previewing inside the IDE
  • Many options for customizing layout and appearance
  • Easily published as either a standalone HTML file or to RPubs
  • For more information see Authoring R Presentations

Source Editor

  • Use Rcpp template by default for new C++ files
  • Add code folding for markdown headings/sections
  • Option to not restore source documents when re-opening projects
  • Preserve open source documents when underlying project directory is moved
  • Ability to execute roxygen example code via Cmd/Ctrl+Enter
  • Change fold/unfold all keyboard shortcut to use 'O' rather than '0'
  • Automatically insert a newline at the end of R scripts when executing the last line in the file
  • Don't advance cursor after execute code if there is a selection
  • Detect and provide notification when editing readonly files (Linux and OSX only)
  • TeX syntax highlighting for .dtx and .ins files
  • Allow opening application/postscript files in the editor
  • Scroll to cursor when reactivating the source pane via the keyboard shortcut
  • Improve clarity of error message for moved or deleted source files
  • R code automatic indentation now adapts to alternate indentations on subsequent lines
  • Execute multi-line statements even when line delimiter is plain \r

Console

  • Control+Enter can now execute commands in the console
  • Allow Esc key to interrupt the console even if used when focus is in the source editor
  • Scroll to cursor when reactivating the console via the keyboard shortcut

Packages

  • User option to disable the Packages pane (useful if there are hundreds of packages installed)
  • Environment variable (RSTUDIO_DISABLE_PACKAGES) that can be used to entirely disable the Packages pane.
  • Build packages using --with-keep-source by default
  • Correctly set LC_COLLATE for roxygenize (now works the same as devtools)
  • Automatically focus console after devtools Load All command

Sweave/knitr

  • knitr 1.2 is now the minimum required version
  • Higher fidelity parsing of knitr error messages
  • MathJax compatability mode for IE 10
  • Correctly base64 encode images with special characters in their paths
  • Read the Sweave template from the filesystem (resources/templates/sweave.Rnw)
  • Update Windows PDF viewer to Sumatra PDF v2.4

Viewer Pane

  • New Viewer pane for viewing local web content within RStudio
  • Works with files written to the R session temporary directory or arbitrary localhost URLs
  • For more information see Extending RStudio with the Viewer Pane

Miscellaneous

  • Replaced Qt with native Cocoa implementation for Mac desktop to improve performance
  • RStudio can now build on OS X Mavericks with the latest version of XCode
  • Support the AppNap API on OS X Mavericks to prevent CPU throttling when R is busy
  • Use domain sockets (Linux/OSX) and named pipes (Windows) for R session communication rather than TCP/IP
  • Allow R help http server to handle custom URLs directly
  • Significantly more robust detection of user home paths on Windows
  • Add option to create projects in a new window
  • Abilty to create Shiny applications directly from the New Project dialog
  • Display row.names in data viewer
  • Compatiblity with Rtools 3.1 (R-devel)
  • Added previewRd function to RStudio package
  • Keyboard shortcut (Ctrl+Shift+F10) for restarting R session
  • Don't add commands to history when Browser> context is active
  • Limit size of history database file to approximately 1 MB
  • Move History button to main toolbar for Git VCS
  • Always use code-search dialog for Go To Function
  • Treat objects of type data.table and cast_df as data in the environment pane
  • New RSTUDIO_HTTP_REFERER environment variable for detecting the full client URL in server mode
  • User option to disable automatic checking for updates to RStudio
  • Environment variable (RSTUDIO_DISABLE_CHECK_FOR_UPDATES) that can be used to disable automatic checking for updates to RStudio
  • Improved error message for failure to start due to version mismatch between libR and loaded packages
  • Disable spell-checking in VCS commit message widget
  • Add .travis.yml to the whitelist of hidden files displayed in the Files pane
  • Fix inability to change default working directory on Ubuntu 13.10
  • Block iframes with remote URLs rather than showing them in a new window

RStudio Server

  • Localhost URLs (e.g. for Shiny, Rook, or OpenCPU applications) are now automatically proxied back to remote clients on the main server port.
  • Add upstart script for RedHat/CentOS 6
  • No longer specify unlimited core size in upstart script
  • More permissive AA profile during startup (ability to auto-detect R in more locations)
  • Enhance fidelity of callstacks for client-side errors
  • Respect X-Forwarded-Proto header required for redirects when running behind SSL proxies
  • Deprecated rsesssion ulimit options: rsession-memory-limit-mb, rsession-stack-limit-mb, and rsession-process-limit
  • Changed Chrome close document shortcut to Cmd+Alt+W

Bug Fixes

  • Avoid evaluating promises for objects in the workspace
  • Recognize more object types as datasets (any object of class data.frame)
  • Fix for browseVignettes function not working in server mode
  • Prevent spurious console warnings when long vectors appear in the workspace
  • Recover gracefully from plot export default directory being removed during a session
  • Track multiple changes within a session to default export plot directory
  • Ignore YAML front-matter that contains multi-line lists in R Markdown documents
  • Prevent mis-detection of embedded R chunks in C++ files (space required before R on first line)
  • Don't serve http content (javascript:false) when running behind an https proxy
  • Fix for cursor positioning bug when using Safari 7.0
  • Clear busy indicator after cancelling update packages
  • Serve woff fonts with correct mime type (avoids warnings in javascript console)
  • Ensure that the user's own group is checked when verifying that a user belongs to a group
  • Fix for console interrupt button sometimes remaining active even when session is idle
  • Enable copying of prompt text from within the console
  • Navigate to help topics based on mouse selection (formerly requried keyboard selection)
  • Ensure that Git revert requests with no valid files don't revert all unstaged changes
  • Prevent RPM upgrade from removing rstudio-server script from /usr/sbin
  • Fix for some text file types being incorrectly detected as binary on RedHat 5
  • Detect R location within cmake configuration even when warnings or other spurious output are generated during R startup.
  • Eliminate warnings which sometimes occurred when initializing default user package library
  • Eliminate warnings which sometimes occurred when resizing graphics devices
  • R 3.02 plots now correctly restore during session resume and build and reload
  • R 3.02 plots that occur in rapid sequence without rendering in the UI now work correctly
  • Prevent "parameter type mismatch" error when using manipulate
  • Prevent error messages which could occur when restarting R from an already suspended session

Previous Release Notes