RStudio v0.99.473 – August 12th, 2015

Data Viewer

  • Support for viewing large data sets (removed 1k row limit)
  • Data can be filtered, searched, and sorted
  • Viewer updates to reflect changes in data

R Code Completion

  • Completions provided automatically without an explicit gesture
  • All objects visible from the current scope are now included in completions
  • Completions in more contexts including S3 and S4 methods and dplyr pipelines
  • Automatic insertion of closing parens when appropriate
  • Inline help tooltip for signatures of completed functions
  • Completion for statements spanning multiple lines
  • Specialized autocompletions provided for library, data, vignette, ?
  • For Shiny applications, autocompletions for ui.R + server.R pairs
  • Completions for dimension names in [, [[ calls
  • Completions from packages in library, require calls automatically inferred and supplied even when not loaded
  • Completions for knitr options, e.g. in opts_chunk$get(), are now supplied
  • Completions for dynamic symbols within .C, .Call, .Fortran, .External
  • Completions for object names for ‘formula’ arguments, e.g. lm(|, data = mtcars)

R Code Diagnostics

  • Syntax errors are highlighted and displayed in red (e.g. missing commas, unmatched brackets)
  • Function calls are checked and validated with e.g. match.call()
  • Warn if variable is used but no definition is available in scope
  • Warn if variable is defined but never subsequently used
  • Whitespace diagnostics to help code conform to http://adv-r.had.co.nz/Style.html

Source Editor

  • Improvements in file/function navigation:
    • Fuzzy matching on search terms
    • Navigate to file posititions using file:line:col
    • Include parameters in function navigation menu
  • Multiple cursors:
  • Create a new cursor above / below the current cursor with CTRL + ALT + {up / down}
  • Move the active cursor up / down with CTRL + SHIFT + ALT + {up / down}
  • Create multiple cursors by pressing CTRL + ALT and clicking + dragging the mouse
  • Improved Vim mode:
    • Various bug fixes
    • Visual block selection (CTRL + v)
    • Multiple-cursor aware
    • Macros (q)
    • Marks (m)
    • Quick find (/)
    • Support a subset of commands in :
    • Use :help for documentation on available commands
  • Configurable snippets for fast insertion of common blocks of code
  • Editor tabs in the source pane can now be rearranged
  • Automatically save files prior to sourcing (controlled by option)
  • Support for multiple cursors via Ctrl+Alt+Up/Down
  • Alt+Enter to run code while retaining cursor position
  • Ctrl+Shift+E to select within matching parens / braces
  • Ctrl+Alt+Shift+E to expand selection to matching paren / brace
  • Comment/uncomment respects indent level when appropriate
  • New Reformat Code command for R scripts
  • Shift+Enter now searches backwards in Find/Replace
  • Find All option added in Find/Replace
  • Ctrl+E now focuses the editor after finding from selection
  • New option to control comment continuation on insertion of new lines
  • Reflow text (comment) for markdown and plain text modes
  • Updated to Ace (source editor component) v1.1.8
  • Syntax highlighting for GraphViz and mermaid.js diagrams.
  • Diagram previews using the DiagrammeR package (requires recent version from GitHub).
  • Syntax highlighting modes for many new languages including Clojure, CoffeeScript, C#, Graphviz, Go, Groovy, Haskell, Java, Julia, Lisp, Lua, Matlab, Perl, Ruby, Rust, Scala, and Stan.
  • Keyword and text based code completion for many languages including JavaScript, HTML, CSS, Python, and SQL.
  • A wide variety of new editor themes (color schemes) are now available.
  • Increase file size limit to 5MB (was previously 2MB)

C/C++ Development

  • Code completion
  • Code diagnostics
  • F2 code navigation (go to definition)
  • Go to file/function for C/C++
  • Find usages for C++ symbols
  • Intelligent auto-indentation
  • Scope tree for quick intra-file navigation

Web Development (HTML/CSS/JavaScript)

  • Code completion
  • Inline diagnostics (JSHint) on syntax and other issues

Workspace

  • Improved handling of objects containing or consisting of NULL externalptr

Debugging

  • Allow ‘debugSource’ to be executed in user-specified environment
  • Improved heuristics for locating the stack frame where errors originated
  • Autocompletions now available when debugging
  • Improved debug stepping through statements wrapped in tryCatch()
  • Better call frame selection when using recover()
  • Keyboard shortcuts for Step Into (Shift+F4) and Step Out (Shift+F6)

Packages

  • Improvements to New Package:
    • Generate cleaner packages with no warnings
    • Respect various devtools options
  • Support for roxygen2 ‘vignette’ roclet
  • Insert Roxygen Skeleton command (Ctrl+Alt+Shift+R)
  • Default to roxygenize for Build and Reload
  • Improved checking for supported protocol with packrat package
  • Escape backslashes in library names when loading packages
  • Call to library after Build and Reload respects –library argument
  • Validate that required versions are available for prompted installs
  • Set R_BROWSER=false and R_PDFVIEWER=false (as CRAN does) for R CMD check

Plots

  • Render plots using devicePixelRatio for retina and HDPI screens
  • Preserve last exported size in Save Plot as PDF dialog
  • dev.new() now creates a new desktop graphics device (e.g. quartz) if the RStudio device is already active.

R Markdown

  • Updated to pandoc 1.13.1
  • Support for parameterized R Markdown reports
  • Ensure that .RData from Rmd directory isn’t loaded during Knit
  • Improved handling of lists in editor
  • Syntax highlighting for comments in markdown documents
  • Make publishing UI easier to discover
  • Require save before previewing Rmd file
  • Handle encoding correctly for Run All Chunks on Windows
  • Support for deploying single interactive documents (not just directories)
  • Updated internal PDF viewer (PDF.js) to version 1.0.1040

Miscellaneous

  • Updated rendering engine to Qt 5.4 for improved performance
  • Windows: updated to MSYS SSH 1000.18
  • Windows: check HKCU in addition to HKLM when scanning for R versions
  • Windows: Use Rtools 3.3 when running under R 3.2
  • Use system.file() rather than .packages() to query for package availability.
  • Bind Cmd+Shift+K shortcut to Compile PDF and Preview HTML
  • When evaluating R strings ensure ‘try’ is called from base package
  • Default to current working directory for New Project from existing directory
  • Add Clear Recent Projects menu item to toolbar project menu
  • Command to sync current working directory and Files pane to project directory
  • Eliminated rstudio and manipulate packages (both now available on CRAN)
  • Respect existing values for RSTUDIO_PANDOC and RMARKDOWN_MATHJAX_PATH environment variables. 
  • Added global RStudio.Version function for getting basic version info
  • Diagram previews using the DiagrammeR package (requires recent version from GitHub).
  • Added Markers pane and sourceMarker API for externals tools (e.g. linters)
  • Enable specification of Sweave driver in Rnw magic comment
  • Re-map prev/next tab shortcuts to eliminate conflicts with window managers
  • Run App command for single file Shiny applications
  • Deprecated ‘source.with.encoding’ in favor of source(…, encoding = “…”)
  • Make source code compatible with -std=c++11
  • Allow specifying character encoding, row name source, and comment character when importing data
  • Jump to the definition of a function by clicking it in the environment pane
  • Increase shinyapps upload limit to 1GB (was previously 100MB).

Server

  • Use systemd to manage server processes on platforms where it is the default
  • Add server-set-umask option to control whether the server sets its umask to 022 at startup
  • Improved installation by reducing dependencies and providing additional platform-specific builds (e.g. SUSE, RHEL5 vs. RHEL6/7)
  • Server Pro: Support for SPDY protocol
  • Server Pro: Custom header name for proxied authentication
  • Server Pro: Option to eliminate “stay signed in” option for PAM authentication.
  • Server Pro: Update to Nginx 1.8.0

Bug Fixes

  • Prevent error dialog when getOption(“repos”) is an unnamed vector
  • Fix for regex Find/Replace lockup with empty strings
  • Fix for console text unselectable in Firefox
  • Find in Files now always activates result pane
  • Correctly reflow comments in Rmd C++ code chunks
  • Don’t warn when saving C/C++ file with .hpp extension on OS X
  • Ensure that rmarkdown documents render within input directory
  • Eliminate race condition that could cause crash when polling child processes
  • Correct handling for breakpoints in files with non-ascii filenames on Windows
  • Next/previous word behavior in Rmd is now consistent with behavior in R scripts
  • Don’t parse YAML front matter if not preceded by whitespace
  • Eliminate some UI problems on Windows HDPI systems
  • Prevent null reference exception in packages pane with active filter + packrat
  • Allow JSON as text file type in the editor
  • Only hide object files (e.g. *.o) in Files pane when in package src directory
  • Ensure cursor is always visible after source navigation
  • Server: Ensure that LANG is populated from system default when not inherited
  • Server: Provide required domain socket permissions during startup
  • IE 11: Strip unprintable unicode characters in Rmd front matter dates
  • Only filter object file listings in ‘src’ directory
  • Fix crash in R tokenizer when source files have binary 0xFFF
  • Correctly navigate to package inst/include directory for template errors
  • Fix visual debugging issues when code isn’t saved in system encoding
  • Fix compilation errors that occurred as a result of GCC concept checks
  • Persist last size setting in Save Plot as PDF dialog
  • R 3.2: Specify .Platform$pkgType when installing binary package archives

Previous Release Notes

R Markdown

  • Next generation of R Markdown based on pandoc
    • Create HTML, PDF, and MS Word documents as well as Beamer and ioslides presentations
    • New markdown syntax including expanded support for tables, definition lists, and bibliographies
    • A responsive (multi-device friendly) and themeable HTML template based on Bootstrap
    • Include raw LaTeX within markdown for advanced customization of PDF output
    • Use Shiny with R Markdown to create interactive documents
    • Compile HTML, PDF, or MS Word notebooks from R scripts
    • See the rmarkdown website package for more details
  • Option to preview R Markdown HTML in Viewer Pane
  • Enhancements to HTML previewing for presentation authoring
  • Previewing for MS Word and PDF output
  • Added Run Previous Chunks command (Ctrl+Alt+P)
  • Keyboard shortcut for Knit is now Ctrl+Shift+K

Debugging Tools

  • Support for R 3.1 advanced stepping commands (step into and finish loop)
  • Allow viewing and stepping through functions that don’t have source-refs (via deparse)
  • Improved support for debugging outside of functions including stepping inside loops

Packages

  • Integrated support for packrat
  • New devtools mode for package development (uses devtools for check, document, test, etc.)
  • Keyboard shortcuts for Test (Ctrl+Shift+T) and Document (Ctrl+Shift+D)
  • Package listing is now grouped by library
  • Pick default save location for files based on type (e.g. R, src, man, etc.)
  • Don’t write HTML output when previewing package Rmd or md documentation

Shiny Development

  • Run and debug Shiny applications directly within the IDE
  • Launch applications and reload changes on the fly using Run/Reload command (Ctrl+Enter)
  • Automatically close Shiny application windows on interrupt/exit
  • Integrated support for publishing applications to shinyapps.io

Source Editor

  • Keyboard shortcut (Ctrl+Shift+M) for magrittr pipe operator (%>%)
  • Find from selection keyboard shortcut (Mac: Cmd+E, Windows/Linux: Ctrl+F3)
  • Execute Current Section command (Mac: Cmd+Option+T, Windows/Linux: Ctrl+Alt+T)
  • Syntax highlighting modes for XML, YAML, SQL, Python, and shell scripts.
  • Command to execute Python and shell scripts (Ctrl+Shift+Enter)
  • New Extract Variable code refactoring (thanks to Dirk Schumacher)
  • Miscellaneous improvements to R and C++ syntax highlighting (thanks to Kevin Ushley)
  • Execute R code from the Source Viewer using Ctrl+Enter
  • Option to automatically strip whitespace at the end of lines
  • Option to ensure that R source files always end with newline
  • Always use tabs for indentation in Makefile and Makevars
  • Enable save command immediately for new documents

RStudio Server

  • Support for Internet Explorer 10 and 11
  • Improved satellite window reactivation (e.g. version control, preview, etc.)
  • Improved location and refresh header re-writing for localhost proxy
  • r-cran-repos option now works consistently and overrides user CRAN option
  • Fix completion window dismissal issue in Ubuntu Chrome
  • Compatibility with RHEL/CentOS 7
  • Pro: Load balancing for increased capacity and high availability
  • Pro: Allocate cores and set scheduler priority and resource limits per user or group
  • Pro: Run a different version of R per user or group
  • Pro: Optionally forward credentials to PAM sessions (e.g. for issuing Kerberos tickets)
  • Pro: New config options to disable access to various features
  • Pro: Migrate Google Accounts support to OAuth 2.0 interface
  • Pro: Login as user link now works correctly when running behind proxies
  • Pro: Updated embedded nginx to 1.6.2
  • Pro: Prevent use of SSLv3 protocol
  • Pro: Compatibility with SLES 11 (SP1, SP2, and SP3)

Miscellaneous

  • Viewer: History, Zoom, and Export commands for static HTML widgets
  • Publish to RPubs from Plots and Viewer panes
  • Keyboard shortcut quick reference (Mac: Option+Shift+K, Windows/Linux: Alt+Shift+K)
  • Mac: Overlay project name on RStudio Dock icon when multiple projects are open
  • Mac: Added New Window command to RStudio Dock icon
  • Mac: Show help PDFs in Preview rather than in an internal window
  • Mac: Correct handling of file downloads from help pane
  • Mac: Direct /usr/bin/gnutar to /usr/bin/tar if necessary on Mavericks
  • Mac: Updated code signing method for OS X 10.10 Yosemite
  • Mac: Remove duplicated PATH entries on OS X 10.10 Yosemite
  • Mac: Eliminate checkbox animation in dialog boxes on OS X 10.10 Yosemite
  • Windows: Automatically adapt typefaces for for high-dpi displays
  • Linux: Improved Ubuntu font rendering (spacing for monospace, font face for proportional)
  • Linux: Don’t link to R BLAS and LAPACK on RedHat/Fedora (R 3.1 compatibility)
  • Git/SVN menu on global toolbar with commands for active file and project
  • Added history, zoom, and export for static HTML widgets in Viewer pane
  • View/Blame on GitHub commands for GitHub projects (file or selection driven)
  • Display current Git branch in main window title
  • Added stringsAsFactors and string.na options to Import Dataset
  • Restore previously entered input to console after executing commands
  • Increase limit on active plots from 30 to 100
  • Added documentation on which version rstudio package functions were introduced
  • Updated GWT library to version 2.6.0
  • Updated pdf.js for improved performance and fidelity of PDF preview
  • R 3.2: Use new API for accessing tools::httpdPort
  • R 3.2: Support for Rtools 3.2

Bug Fixes

  • Disable spell checking and auto-correction in text entry fields
  • Fix debugger line highlighting for functions invoked with :: at the console
  • Fix for package breakpoints set after library() sometimes missing srcrefs
  • Fix cursor positioning on OS X when CJK characters are present
  • Handle Windows junctions (soft links) in the Files Pane
  • Correctly scale satellite windows in Windows high DPI mode
  • Prevent slowdown in scrolling and editing for large Rmd and Sweave files
  • Preserve working directory when restarting R while not in a project
  • Fix for intermittent R Pubs upload failures
  • Environment: prevent view of large data frames from collapsing on update
  • Packages: Don’t check dependency status when repos = NULL
  • Packages: Respect repository option already set from .Rprofile
  • Packages: Don’t use –with-keep.source for R < 2.14
  • Plots: fix issues with copy plot to clipboard on OS X
  • Plots: prevent spurious warnings when rendering plots from already closed device
  • Help: handle internal redirects from R help correctly on Windows & Linux
  • Server: Fix issue which caused extra bytes at end of some file uploads
  • Server: Prevent freeze when concurrently reading both ends of proxied websocket
  • Server: Enable loading of IDE within an iframe in Firefox
  • Server: Don’t remove /usr/[s]bin soft links during upgrades
  • Server: Fix python egg cache issue with metrics script
  • Server: Ensure helper processes run as server user and terminate with parent
  • Server: Fix completion window dismissal issue in Ubuntu Chrome
  • Mac: Correctly detect OS X command line tools on OS X Yosemite
  • Mac: Prevent extra line from being copied in Safari 8
  • Prevent loading of videos in HTML Preview (caused crashes in some configurations)
  • Respect ‘whole word’ option in source editor replace operations
  • Eliminate compiler errors when building on Ubuntu 14.04
  • Correctly recognize application/xml as a text file type in the source editor
  • Prevent crash which occurred after opening a QtWebKit web inspector
  • Prevent error messages during session termination
  • Fix for Windows crash when ESC key pressed at startup
  • Fix for installing packages when repos option is an unnamed vector

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/OS X) 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
  • Detect R on OS X even if /usr/bin/R has been deleted
  • 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

Package Development

This release includes a variety of tools to support R package development, including:

  • A new Build tab with various 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
  • Incremental reload is very fast and preserves the state of the previous R session, providing quick turnarounds and much more interactive workflow for package development
  • Additional commands for checking packages and building source and binary packages
  • Ability to create a new package based on existing R source files

There are also a number of features aimed at making it easier to write R documentation:

  • Preview and optional automatic preview on save for Rd files
  • Spell-checking for Rd files
  • Syntax highlighting, code-completion, and re-flowing for Roxygen comments
  • Ability to automatically invoke Roxygen prior to package builds

There is also integration with the devtools package, including:

  • Load All command and keyboard shortcut (Ctrl+Shift+L) that calls devtools::load_all
  • All package installations respect the development library established by devtools::dev_mode
  • Automatic restoration of devtools::dev_mode when reloading and restarting R sessions

Rcpp

This release includes many new features to support seamless R and C++ integration using Rcpp, including:

  • Syntax highlighting for C/C++
  • Quick navigation to gcc errors and warnings
  • Support for Rcpp Attributes:
    • Command w/ keyboard shortcut for Rcpp::sourceCpp
    • Editor support for embedded R code chunks in C++ source files
    • Automatic calls to Rcpp::compileAttributes for package builds
  • New project option to create “Package w/Rcpp”
  • Automatic unloading of Windows dynamic libraries before package builds
  • Editor support for Rcpp code chunks in R Markdown

Source Editor

  • Find and Replace improvements:
    • Incremental search
    • Find/Replace in selection
    • Backwards find
    • Options for whole word and wrap
  • Automatic indentation improvements:
    • Full support for auto-indent in Sweave/knitr code chunks
    • More intelligent handling of closing braces
    • Recognize operators (e.g. ‘+’ for ggplot) as expression continuations
    • Option to control whether function arguments are vertically aligned
    • Option to disable auto-indent after pasting code into editor
  • Vim editing mode
  • Tomorrow suite of editor themes
  • Surround selected text with quote/brace/paren/etc. on key input
  • Jump to matching brace/param (Ctrl+P)
  • New options: show whitespace, show indent guides, non-blinking cursor
  • Advance to next line after executing a selection from the editor
  • Significantly improved file-type detection (automatically open all files detected as text)

Console

  • More intelligent history navigation with up/down arrow keys
  • Confirm if attempting to quit while R console is busy
  • Improved auto-scroll behavior in the console
  • Option to focus console after executing code from editor
  • Send interrupt for ESC key even if server doesn’t appear to be busy
  • Display error output in distinct color for TextMate theme (and some others)

Plots

  • Plot zoom window improvements:
    • Automatically refreshes with plots pane
    • Remembers and restores it’s size (within each session)
  • Use bg=transparent option for plots to RStudio device
  • Always use native R png device with cairo bitmapType on Linux
  • Default plot export dialogs to current size of plots pane
  • Option to use cairo_pdf for PDF plot export on platforms where it is available
  • Set useDingbats = FALSE for PDF plot export (for compatibility with broader set of PDF viewers)
  • Compatibility with R Graphics Engine version 10 (R-devel)

Packages

  • Install Packages dialog can now install both source and binary packages
  • Warn and offer optional restart when updating packages that are currently loaded
  • Display package version and tooltip indicating which library they are installed in
  • Option to use RStudio CRAN mirror (Amazon S3/CloudFront)
  • Install rstudio and manipulate packages in default user library (R 3.0)

Workspace

  • New option to control whether hidden objects are removed in Clear All
  • Confirm prior to editing large (length >= 100) workspace objects
  • Call read.csv directly when possible in import dataset (compatibility with spreadsheets exported as CSV from LibreOffice)
  • Custom workspace display for ore.frame objects
  • Treat objects of type data.table and cast_df as data

Sweave/knitr

  • Added a Log button to the HTML preview window for reviewing the compilation log
  • Changed insert chunk keyboard shortcut to Cmd+Alt+I
  • Enable syntax highlighting inside of Markdown lists
  • Add docs on inline R code to markdown quick reference
  • Markdown rendering no longer performs a hard wrap for newlines
  • Ignore Pandoc title blocks and YAML front-matter when rendering markdown
  • Don’t use new window to open links from Markdown generated HTML documents
  • Parse new knitr error message format for enhanced R error diagnostics
  • Removed stitch notebook option
  • Append rather than prepend /opt/local/bin to path (prefer MacTeX over MacPorts Tex)
  • Explicitly pass file encoding to Sweave and knitr

Miscellaneous

  • Compatibility with R 3.0
  • Ability to specify a global UI zoom-level
  • Improved keyboard navigation for the Help pane (Ctrl+F, incremental search)
  • Show directory disambiguater when multiple projects in the MRU share the same name
  • Support for OS X Lion full screen mode
  • Add Ctrl+Q shortcut for quit on Windows on Linux
  • Change replace and find keyboard shortcut to Cmd+Shift+J
  • Change Chrome close window shortcut to Cmd+Shift+Z
  • Preface Alt keyboard shortcuts on the Mac with Cmd (international keyboard compatibility)
  • Preference to control whether –internet2 is enabled on Windows
  • Find in files search pattern defaults to current selection
  • Remember find in files search scope (per-project) across sessions
  • RSTUDIO environment variable is set at startup (for detecting RStudio within .Rprofile)
  • New ‘rstudio’ package with versionInfo and diagnosticsReport functions
  • Change Windows stack size to 20MB (was 10MB in v0.96)
  • Sign Windows installer using Authenticode
  • Use DYLD_FALLBACK_LIBRARY_PATH rather than DYLD_LIBRARY_PATH to bind to libR on OS X
  • More robust handling of errors that occur during quit
  • Reduce error option related overhead of calls from C++ to R
  • Remove legacy 32MB minimum memory limit

Robustness/Diagnostics

  • New Restart R and Terminate R commands
  • More graceful recovery if the underlying R session crashes or is unable to start
  • Diagnostic tools for troubleshooting startup and configuration problems
  • Prohibit opening binary files in the source editor
  • Improved detection of invalid or too-large source files at startup
  • Prevent OS X freeze which occurs when more than one modal dialog shows at startup.
  • Use Recycle Bin for file deletion on Windows and OS X

RStudio Server

  • Suspend now saves and restores .libPaths and environment variables
  • Suspend now correctly handles packages loaded from a custom lib.loc
  • Option to automatically re-execute .Rprofile on session resume
  • Automatic installation of dependencies on Debian/Ubuntu using gdebi
  • Fix execute rule conflict with AppArmor base abstraction
  • Ability to discover R in non-standard filesystem locations

Bug Fixes

  • Don’t allow console width to be set to an invalid value
  • Correct default project file name for project directories containing a period
  • Remove files from MRU list if an error occurs while opening them
  • Recognize .q and .s files as R source files
  • Show forward and back buttons for Rmd and Rnw source documents
  • Enable shell escape option for LaTeX now works correctly on Windows
  • Fix for execute current/next chunk not working in certain cursor states
  • Code folding keyboard shortcuts now work for non-top level code blocks
  • Correctly display next/previous tab shortcuts on Linux
  • Advance to empty line after executing last line in the document
  • Yank (Ctrl+U) shortcut now works as intended on all platforms
  • Prevent selection of user-interface elements (only text can be selected)
  • Ensure that serialization progress always appears above global toolbar
  • Restore focus to editor after switching file types
  • Restore focus to main window after open/save dialogs are dismissed
  • Ensure that Git/SVN and document preview windows correctly reactivate in Chrome
  • Use correct SVN directory even when working directory changes
  • Set locale correctly on OS X (including respecting R.app locale preferences)
  • Set R_ARCH in multi-arch builds of R for OS X
  • Print warning when running against MacPorts R that is compiled without aqua/quartz
  • When scanning for R script don’t treat /usr/bin/R as a script if it’s actually a directory
  • Fix OS X crashes that occurred sporadically for some list boxes in the options dialog
  • Don’t prevent application exit when errors occur while reverting source documents
  • Don’t show plot preview if it’s larger than available screen space
  • Prevent simultaneous display of message box and update dialog
  • Ctrl+W can now closes the plot zoom window
  • Use correct parameters to ensure a valid EPS file is exported
  • Show correct number of variables in data viewer
  • Automatically hide history popup panel when clicking away from it
  • Correctly handle package status when multiple versions of packages are installed
  • Update status of packages even when they are hidden by a filter
  • Don’t call packageVersion for compatibility with R 2.11.1
  • RShowDoc type=html now works correctly on Windows
  • browseURL can now open HTML documents now prefaced by the file:// protocol
  • browseURL in desktop mode no longer performs additional URL encoding
  • Ensure that PDF preview works even when concordance isn’t available
  • Display search results when looking up help term with more than one matching symbol
  • PDF links now open correctly from the Help pane
  • Always use bundled gnu grep on windows (rather than other versions of grep that might be in the path)
  • Eliminate upstart and AppArmor mis-detection on Debian testing
  • Prevent freeze when loading large line-wrapped source files on Chrome for Linux

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.

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 and MathML equations in web pages using MathJax.

Source Editing

  • Find in files with regular expressions.
  • Code folding (expanding and collapsing regions of code).

 

0.96.331 — August 27th, 2012

Miscellaneous

  • Fix issue with git console flashing on windows

 

0.96.330 — August 6th, 2012

Miscellaneous

  • Retina display font rendering for new MacBook Pro
  • Add Ctrl+R as a shortcut for Run Code on Windows
  • Improved window restoration behavior (especially for multi-monitor configurations)
  • Prevent console from flickering after it has been cleared
  • Always initialize projects even while the underlying filesystem doesn’t support locking
  • Never overwrite exiting project file when creating a new project
  • Ensure that source-on-save setting is always respected
  • Source documents no longer marked as dirty if they are changed while RStudio is closed
  • Find in Files updated to work correctly with OS X 10.8 grep
  • RStudio Server compatibility with Safari 6

 

0.96.316 — June 29th, 2012

Markdown

  • Ability to define custom markdown rendering function to override default handling
  • HTML preview improvements: set focus on load, preserve anchor when refreshing
  • New notebook types based on calling knitr::stitch and knitr::silk
  • No longer require \\ escape for MathJax native equations

Miscellaneous

  • Syntax highlighting mode for C/C++
  • Use current project directory as default for save as dialog
  • Fix for narrowing of console width after external PDF preview

 

0.96.304 — June 8th, 2012

Markdown

  • Added Create Notebook for quick reports from R scripts

MathJax

  • Support for wider variety of equation delimiters

 

0.96.233 — June 7th, 2012

Miscellaneous

  • Rebuild from correct v0.96 branch

 

0.96.231 — June 5th, 2012

Markdown

  • Fix publish to RPubs on Windows

 

0.96.230 — June 4th, 2012

Markdown

  • Support for publishing markdown documents to RPubs

 

0.96.228 — May 26th, 2012

Miscellaneous

  • Fix symbol lookup incompatibility with R-devel

 

0.96.227 — May 25th, 2012

MathJax

  • Introduce more explicit syntax for equation embedding to eliminate parsing ambiguities
  • Update docs to reflect no current support for ASCIIMath equations

 

0.96.225 — May 23rd, 2012

Sweave/LaTeX

  • Comment/Uncomment for LaTeX and Sweave files
  • Call Sweave/knitr with –no-save and –no-restore (rather than –vanilla)
  • Default to calling pdflatex or xelatex directly (rather than using texi2dvi)
  • Don’t spell-check cite* or bibitem commands

Markdown

  • Create new documents using a basic template that documents R Markdown syntax
  • Eliminate table borders in Markdown CSS
  • Improved document title detection
  • Added documentation on R code blocks to Markdown quick reference

MathJax

  • Use a local version of MathJax for previews (enabling MathJax preview even when offline)
  • Use SVG for local MathJax previews on the Mac (but still publish as HTML/CSS)
  • Allow embedding multiple inline equations on a single line
  • Allow inline equation definitions to span across multiple lines
  • Only include HTML-CSS options in local preview mode
  • Link to the https version of the MathJax scripts in generated HTML file

Source Editing

  • Changed Comment/Uncomment shortcut to Ctrl+Shift+C
  • Fixed issue with clipboard shortcuts on Japanese keyboard layouts
  • Fixed inability to enter braces in international keyboard layouts on the Mac
  • Execute current function now works (fixed regression)

Miscellaneous

  • Developer ID code signing for Mac
  • Add libjpeg62 dependency for Ubuntu 12.04
  • Fix symbol lookup incompatibility with R-devel
  • Prevent console access by forked child processes

 

0.96.122 — May 14th, 2012

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 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.
  • Updated to Qt 4.8: required for PDF viewer and to fix OS X Lion trackpad scrolling issue (however as a result 32-bit Mac systems and OS X 10.5 are no longer supported).

Miscellaneous

  • Fix R 2.15 startup problem when libraries with missing dependencies are loaded in .Rprofile

 

0.95.263 — March 15th, 2012

Miscellaneous

  • Shortcuts no longer disabled after showing SVN commit dialog

 

0.95.262 — February 28th, 2012

Plots

  • Fix JPEG, TIFF, and BMP plot exporting for R 2.14 on OS X

 

0.95.261 — February 15th, 2012

Source Editor

  • Bypass corrupt source documents on startup

 

0.95.258 — January 31st, 2012

Version Control

  • Git https authentication now works on Mac OS X
  • Fix for startup problems when a pane layout includes only a (hidden) Git or SVN panel

Miscellaneous

  • Fixed various issues with project paths containing non-Ascii characters on Windows
  • Eliminate spurious display of scrollbars for History pane with Ubuntu Mono typeface
  • Correctly launch Chrome on Windows for external URLs (when it is the default system browser)

 

0.95.256 — January 25th, 2012

Projects

  • Create projects that enable easy switching between working directories
  • Each project has its own RStudio context:
    • R session
    • Open source documents
    • Arrangement of panes
    • History
    • Saved workspace (.RData)
  • All R code within a project is indexed for quick navigation by filename or function
  • Projects can be bound to version control repositories (Git or Subversion)
  • File-association for .Rproj files to open projects from the shell
  • Open multiple instances of RStudio with different projects concurrently

Code Navigation

  • Quickly navigate to any file or function within a project using typeahead search
  • Go To Function Definition:
    • Go to the definition of function currently at the cursor (F2 or Ctrl+Click)
    • Works for both indexed source code as well as functions defined within packages
    • Special handling for S3/S4 methods with multiple definitions
  • Back and Forward commands for quickly traversing navigation contexts (including tab switches)

Version Control

  • Integrated support for binding projects to Git and Subversion repositories
  • Git/SVN pane:
    • View current changelist
    • Stage or revert changes
    • Push/pull/update
    • Switch branches
  • Review changes window:
    • Diff pending changes
    • Incremental stage/discard of chunks (Git)
    • All functions from Git/Svn pane also available
  • History window:
    • View the history of all changelists (and their associated diffs) for a project
    • View changelists that affect only a specific file or directory
    • Filter changelists by subject (Git)

Other New Features

  • Support for multiple concurrent instances of RStudio
  • Global toolbar for accessing common file/navigational commands
  • Source editor improvements:
    • Jump to Line
    • Reindent Lines
    • Automatically re-indent lines on paste
    • Save All and Close All commands
    • Immediate refresh of documents changed in external editors
  • Manipulate package:
    • Button control
    • Function to capture mouse coordinates (manipulatorMouseClick)
  • Shell command:
    • Desktop: open system terminal in current directory
    • Web: open web-based terminal in current directory
  • Use native Ubuntu monospace and proportional fonts on newer Ubuntu systems (11.10+)
  • Support for \1..\99 and \n, \r, \t in regex search & replace

Bug Fixes

  • Correctly highlight variables which include dot (.) in their names
  • Prevent unmapped command keys on OSX from inserting characters in the editor
  • Correctly handle context-sensitive help requests for functions which include underscore (_) in their names.
  • Remove syntax highlighting for strings within LaTeX.
  • Improve precision of click-selection on variables in the editor
  • F1-help now works properly for Google Chrome browsers
  • Don’t auto-insert matching quotes for string-terminating quotes
  • Disable quote-matching in Roxygen comments
  • Fix cursor-position issues in soft-wrapped documents
  • Run function definition now works correctly on Windows
  • Preserve scroll position for History pane across activations
  • Fix re-rendering of R 2.14 lattice plots after server suspend/resume
  • data.css is now correctly served when running behind a reverse proxy

Installation

  • Fix Ubuntu 64-bit packaging issue that was introduced in 0.94.109

 

0.94.110 — October 3rd, 2011

Source Editor

  • Fix Ubuntu 64-bit packaging issue that was introduced in 0.94.109

 

0.94.109 — October 3rd, 2011

Source Editor

  • Fix intermittent problems with autoindent

 

0.94.106 — September 22nd, 2011

R 2.14

  • Temporarily disable support for dev.hold / dev.flush (need to buffer flushes to reduce http round trips)

 

0.94.105 — September 12th, 2011

R 2.14

  • Support for Graphics Engine v9 (dev.hold, dev.flush, and dev.capabilities)
  • Parallel package compatibility (corrected problem with child process signal handling)
  • Eliminate readLines warning (for incomplete last line) from startup and after source of active document

 

0.94.102 — August 22nd, 2011

Miscellaneous

  • Enforce editor file size limits (1MB warning, 5MB absolute limit) in desktop mode
  • Improved track-pad responsiveness for scrolling on OSX Lion
  • Use short file name variant for R.home() on Windows
  • Use privileged mode for PAM authentication on Ubuntu
  • Correct escaping of apostrophes in settings files
  • Enable select none button in package update dialog

 

0.94.92 — July 11th, 2011

Source Editor and Console

  • Added Source with Echo command (Ctrl-Shift-Enter)
  • Editor toolbar menu for specifying default source echo behavior
  • Sourcing of saved files uses file’s path rather than temporary file
  • Change Run All shortcut to Ctrl-Shift+R and remove from toolbar
  • All commands from multiline input are recalled by up-arrow
  • Correctly handle spacing for ampersands within quotes
  • Fix for misalignment of text with embedded tabs
  • Correct indentation behavior when in hard tab mode

Sweave

  • Improved detection of TeX installation on OS X
  • Prevent activation of external console window on Windows

Miscellaneous

  • Correct state for dev.interactive even when graphics device not yet loaded
  • Delegate to shell for unknown file types in desktop mode
  • Eliminate warning messages resulting from display of bquote assignments in workspace
  • Skip reading of .DS_Store files in source database directory
  • Prevent crash when timestamp is called from .Rprofile on Windows

 

0.94.82 — June 15th, 2011

Source Editor and Console

  • Run code:
    • Run all lines in source file
    • Run to current line
    • Run from current line
    • Redefine current function
    • Re-run previous region
    • Code is now run line-by-line in the console
  • Brace, paren, and quote matching
  • Improved cursor placement after newlines
  • Support for regex find and replace
  • Optional syntax highlighting for console input
  • Press F1 for help on current selection
  • Function navigation / jump to function
  • Column and line number display
  • Manually set/switch document type
  • New themes: Solarized and Solarized Dark

Plots

  • Improved image export:
    • Formats: PNG, JPEG, TIFF, SVG, BMP, Metafile, and Postscript
    • Dynamic resize with preview
    • Option to maintain aspect ratio when resizing
    • Copy to clipboard as bitmap or metafile
  • Improved PDF export:
    • Specify custom sizes
    • Preview before exporting
  • Remove individual plots from history
  • Resizable plot zoom window

History

  • History tab synced to loaded .Rhistory file
  • New commands:
    • Load and save history
    • Remove individual items from history
    • Clear all history
  • New options:
    • Load history from working directory or global history file
    • Save history always or only when saving .RData
    • Remove duplicate entries in history
  • Shortcut keys for inserting into console or source

Packages

  • Check for package updates
  • Filter displayed packages
  • Install multiple packages
  • Remove packages
  • New options:
    • Install from repository or local archive file
    • Target library
    • Install dependencies

Miscellaneous

  • Find text within help topic
  • Sort file listing by name, type, size, or modified
  • Set working directory based on source file, files pane, or browsed for directory.
  • Console titlebar button to view current working directory in files pane
  • Source file menu command
  • Replace space and dash with dot (.) in import dataset generated variable names
  • Add decimal separator preference for import dataset
  • Added .tar.gz (Linux) and .zip (Windows) distributions for non-admin installs
  • Read /etc/paths.d on OS X to ensure RStudio has the same path as terminal sessions do
  • Added manifest to rsession.exe to prevent unwanted program files and registry virtualization

Server

  • Break PAM auth into its own binary for improved compatibility with 3rd party PAM authorization modules.
  • Ensure that AppArmor profile is enforced even after reboot
  • Ability to add custom LD library path for all sessions
  • Improved R discovery:
    • Use which R then fallback to scanning for R script
    • Run R discovery unconfined then switch into restricted profile
  • Default to uncompressed save.image output if the administrator or user hasn’t specified their own options (improved suspend/resume performance)
  • Ensure all running sessions are automatically updated during server version upgrade
  • Added verify-installation command to rstudio-server utility for easily capturing configuration and startup related errors

Bug Fixes

  • Undo to unedited state clears now dirty bit
  • Extract function now captures free variables used on lhs
  • Selected variable highlight now visible in all themes
  • Syncing to source file updates made outside of RStudio now happens immediately at startup and does not cause a scroll to the bottom of the document.
  • Fixed various issues related to copying and pasting into word processors
  • Fixed incorrect syntax highlighting issues in .Rd files
  • Make sure font size for printed source files matches current editor setting
  • Eliminate conflict with Ctrl+F shortcut key on OS X
  • Zoomed Google Chrome browser no longer causes cursor position to be off
  • Don’t prevent opening of unknown file types in the editor
  • Fixed sporadic missing underscores (and other bottom clipping of text) in console
  • Make sure console history is never displayed offscreen
  • Page Up and Page Down now work properly in the console
  • Substantially improved console performance for both rapid output and large quantities of output
  • Install successfully on Windows with special characters in home directory name
  • make install more tolerant of configurations where it can’t write into /usr/share
  • Eliminate spurious stderr output in forked children of multicore package
  • Ensure that file modified times always update in the files pane after a save
  • Always default to installing packages into first writeable path of .libPaths()
  • Ensure that LaTeX log files are always preserved after compilePdf
  • Fix conflicts with zap function from epicalc package
  • Eliminate shortcut key conflicts with Ubuntu desktop workspace switching shortcuts
  • Always prompt when attempting to save files of the same name
  • Maximized main window now properly restored when reopening RStudio
  • PAM authorization works correctly even if account has password expiration warning
  • Correct display of manipulate panel when Plots pane is on the left

New Features

Source editor enhancements

We’ve added some new features & options to the source editor. We’ve also received lots of feedback on more advanced capabilities users want in the editor and we will definitely address this in upcoming releases. New stuff in the editor includes:

  • 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

The docs on source code editing options include more details.

Customizable layout and appearance

One of the most frequently requested features we’ve have is the ability to put the Console and Source views side-by-side. This configuration (and others) are now possible. New appearance and layout options include:

  • Customize locations of panes and tabs
  • Change default font size for code views
  • Select from various editor themes including TextMate, Eclipse, and others.

For more details see the docs on appearance and layout options.

Interactive plotting (manipulate)

This release includes a package called manipulate that can be use to create interactive plots within RStudio. Manipulate is very flexible and includes the following capabilities:

  • Generate plots with inputs bound to custom controls (rather than being hard-coded to a single value)
  • Variety of control types including slider, picker, and checkbox.
  • Controls appear next to the plot and can be easily shown and hidden

More details as well as screenshots with examples can be found in the manipulate documentation.

Works with R installed from source

The first beta of RStudio was compatible with the binary version of R distributed from CRAN. The current release works with any version of R, including:

  • R built and installed from source using make install
  • MacPorts or Homebrew versions of R on MacOS X

The docs on using different versions of R describe how RStudio determines which R to run against on each platform.

Character encoding

In this release we’ve significantly improved handling of non-ASCII characters, this includes:

  • Unicode characters can be used for input and output in the console.
  • The source editor supports Unicode characters and can open/save files using any character encoding.
  • A product-wide default encoding can be set, and can be overridden on a per-document basis.

See the character encoding documentation for more details.

Improved management of working directories

We’ve added a number of new features to make it easier to switch between working contexts located in different directories. These include:

  • Option to specify a default initial working directory
  • Tools | Change Working Dir menu command to change both the working directory and Files pane.
  • Optional file associations for .RData and .R that initialize RStudio within the opened file’s directory
  • Windows: Startup in working directory specified for shortcuts
  • Mac: Startup in folder dragged and dropped on RStudio Dock icon
  • Linux: Startup in terminal working directory when run from the command line

The docs on working directories and workspaces go into more depth on these features.

 

 

Other Enhancements

Console

  • Recognize \r character in console so that txtProgressBar works as expected
  • Lift restrictions on size of console input which can be sent to R (was 4K total, is now 4K per line)
  • Jump to next non-blank line in source after executing via Ctrl-Enter

Source Editing

  • Improved size and legibility of default fonts on Windows & Linux
  • New keyboard shortcuts:
    • Alt- for inserting assignment (“<-“) operator.
    • Ctrl+Shift+Home/End for select to start/end
    • Ctrl+Shift+P for Compile PDF
  • Add “return” to list of symbols syntax highlighted as a keyword

Compatibility

  • Compatible with R 2.11.1 on Mac (previously required R 2.12)
  • Added CFBundleSignature to Mac version
  • Correctly initialize memory.limit to available physical memory on 64-bit Windows
  • Ensure that R uses Internet2 on Windows for interoperability with proxy servers.
  • Compatibility with changes to the R 2.13 internal web server (pass headers to custom handlers).
  • Allow RStudio desktop to run under root account
  • Improved support for openSUSE (still requires install from source):
    • Added install-dependencies-zypper script
    • Added init.d script for daemon management

Packaging and Installation

  • Added RStudio.version function to show current version of RStudio
  • Changed name of RStudio binary from rdesktop to rstudio (avoid conflict with existing rdesktop binary)
  • Added /usr/bin/rstudio soft-link
  • Change DEB and RPM dependency on base R package to “recommends” rather than “depends”
  • Made it more straightforward to install from source:
    • Eliminated git pull requirement (can now build directly from tarball)
    • Optionally use system package manager installed versions of Qt4 & Boost

Miscellaneous

  • Added Tools menu with Interrupt R, Change Working Dir, and Options commands.
  • Add support for loading .rda files into Workspace.
  • Improved file icons including new custom icons for Rnw and Rd files.
  • Respect both R_USER and HOME environment variables for determining location of R home directory
  • Render plot changes on calls to Sys.sleep (enables animated plots)
  • Workaround Ubuntu TeX ~ substitution bug by using pdflatex rather than texi2dvi

 

Bug Fixes

Console

  • Workspace restored message prints at startup even if no workspace was restored
  • Numeric keypad Enter and navigation keys not correctly interpreted by console
  • Esc key not always correctly interpreted when attempting to exit from incomplete command.

Source Editing

  • Source pane can become fully selected and impossible to unselect.
  • Control-Enter to execute sometimes results in selection not updating properly
  • Jump to Word (Ctrl+Right) doesn’t navigate past ‘[‘ character.
  • Ctrl+Backspace doesn’t delete previous word on Windows
  • Characters illegible when Lucida Grande is installed on Mac systems
  • Active tab in source mode sometimes hidden or partially obscured
  • Control+S repeats last Undo/Redo on Firefox 3.6
  • Print from source view not working in Firefox 4
  • Eliminate key binding conflicts for international keyboard layouts
  • Incorrect shortcut key displayed in tooltip for Run from source commands
  • Variables with dots (“.”) in their names not highlighting on double-click.

Plotting

  • Graphics device not reselected after closing other device (e.g. pdf or png device)
  • X11 device and rgl package not working properly on on Mac.
  • Save as PNG command not working on Linux
  • Re-entrant plot rendering routine causes crash for plots which take a long time to be rendered.
  • plotmath expressions not rendered correctly
  • Plot history can grow arbitrarily large and cause disk/memory problems.

Compatibility

  • rJava package not working on Linux due to incomplete LD_LIBRARY_PATH
  • Not always correctly detecting whether TeX is installed
  • Dependency on psmisc package not specified for RStudio Server
  • Incorrect file association for download of RPM on Fedora

Miscellaneous

  • Failed to start when running behind some proxy server configurations.
  • Unable to initialize from .Rhistory file that is owned by root
  • Exit delay of 2-3 seconds in Mac version
  • Crash when custom gtk theme contains missing or invalid images for standard icons
  • Unresponsiveness when viewing extremely large data frames
  • Conflicting RStudio instances running in parallel if launched from different executable paths