This is a minor update to RStudio 1.4 that contains fixes for a handful of important bugs.
reticulate
can now be customized via the Global Options pane.reticulate
REPL is active. (#6862)matplotlib.pyplot.show()
function now displays PNG plots within the Plots pane. (#4965)matplotlib
are now shown with a higher DPI in the Plots pane when appropriate.reticulate::virtualenv()
.F6
added to navigate focus to the next pane. (#7408)~/.rstudio
has been moved to ~/.local/share/rstudio
, and its location can now be customized with XDG_DATA_HOME
. (#1846)XDG_CONFIG_DIRS
can be used to specify alternate directories for server configuration files. (Pro #1607)RSTUDIO_DATA_HOME
, RSTUDIO_CONFIG_DIR
, etc. (#7792)step10.R
comes after step9.R
. (#5766)tibble
objects in R Notebooks. (#5970)format()
methods defined for columns entries when available (#7239)Ctrl + D
can now be used to send EOF when reading user input via readLines()
(#3448)www-same-site
provides support for the SameSite
attribute on cookies issued by RStudio. (#6608)X-RStudio-Request
header for specifying originating URL behind path-rewriting proxies (Pro #1579)X-RStudio-Root-Path
header or the new www-root-path
for specifying the exact path prefixes added by a path-rewriting proxy (Pro #1410).www-url-path-prefix
was deprecated and removed. Use www-root-path
instead.Note: RStudio Server Pro now requires a Postgres database when using its internal load balancer; this database must be set up prior to upgrade from earlier releases. If you have a multi-node RStudio Server Pro installation, consult the Administration Guide for instructions before upgrading.
Note: RStudio Server Pro uses a new location for user state;
.rstudio
is now.local/share/rstudio
. This is a breaking change if you have symlinked .rstudio and can make downgrade more complicated. See the Administration Guide for more information, including instructions for using the old location if desired for compatibility with previous releases.
auth-proxy-sign-out-url
option specified an endpoint to take the user to when “Sign Out” is clicked in the IDE user interface (Pro #1745)session-limit
allow limiting the maximum number of sessions a user can have (Pro #540)server-multiple-sessions=0
. (Pro #1263)load-balancer
option timeout
limits how long to wait for a response from a node, defaults to 10 seconds. (Pro #1642)load-balancer
option verify-ssl-certs
for testing nodes with self-signed certificates when using SSL. (Pro #1504)launcher-verify-ssl-certs
and launcher-sessions-callback-verify-ssl-certs
options for testing with self-signed certificates when using SSL. (Pro #1504)slurm-service-user
(Pro #1527)auth-proxy-require-hmac
is has been retired and it is no longer operational. RStudio will not start if enabled. See the documentation on [Proxy Security Considerations] for alternatives to secure RStudio. (Pro #2029)reticulate
(#5094)renv
projects (#7136)rstudioapi::askForPassword()
did not mask user input in some casesgid=0
in Slurm Launcher Sessions (Pro #1935)readline()
and readLines()
can now be interrupted, even when reading from stdin()
(#3448)auth-pam-session-use-password
would not work when multiple Server nodes are used behind an external load balancer (Pro #2158)server-project-sharing-root-dir
would fail to share when the path contain mixed ACL support (Pro #2061)This is a patch release of RStudio 1.3, consisting primarily of bugfixes and small improvements.
tail -f
child processes (Pro #1856)auth-none
would not load sessions (#7575)auth-required-user-group
was set in some configurations (Pro #1944)This is a patch release of RStudio 1.3, consisting primarily of bugfixes and small improvements to RStudio 1.3.
rsandbox
path in Server Pro (Pro #1777)rstudioapi::setCursorPosition()
not scrolling cursor into view (#7317)rmarkdown
and packrat
packages being eagerly loaded on IDE launch (#7265)This is a patch release of RStudio 1.3, consisting primarily of bugfixes and small improvements from the initial 1.3 stable release.
www-frame-origin
for Tutorial API (Pro)rstudioapi
highlightUi call to accept a callback variable containing an R script to be executed after the highlight element has been selected (#67565)www-url-path-prefix
to force a path on auth cookies (Pro #1608)NOTICE
for Ace editor license (#7102)shinytest
package (#6960)deparse()
) (#6854)verify-installation
without Launcher (Pro #1718)Alt+-
shortcut to insert assignment operator in R Markdown documents (#7169)server-project-sharing-root-dir
allows project sharing outside user home directories (Pro #1340)This is a major new release of RStudio which includes the following enhancements:
auth-timeout-minutes
option signs users out after a defined period of inactivity (Pro #667)Origin
header (Pro #1214)auth-cookies-force-secure
to always mark auth cookies as secure when SSL is terminated upstream (Pro #995)X-Content-Type-Options
to discourage MIME type sniffing (Pro #1219)restrict-directory-view
and directory-view-whitelist
options (Pro #607)Ctrl+[
as Esc key on iPadOS 13.1 keyboards lacking physical Esc key (#4663)learnr
package in a new Tutorials pane#*
comment keywords (#2220)#*
on successive lines (#2219)/var/run
, or another configurable location, instead of /tmp
(#4666)rstudio --version
command to return the version of RStudio Desktop (#3922)install.packages()
without arguments would fail (#5154)x
were viewed (#3304)reticulate
on Windows could crash on run (#6140)/home
. This is a potentially breaking change, and will requiring updating the /etc/rstudio/laucher-mounts
file to mount the home directory to the correct location (#1369)requests
limit to allow for oversubscription of Kubernetes resources (#1360)Thanks to Dr Jonathan Godfrey (Massey University, New Zealand), and to JooYoung Seo (https://www.jooyoungseo.com/) for their valuable insights on improving screen reader support in RStudio 1.3.
This is a maintenance release of RStudio containing small bugfixes and functionality enhancements.
www-frame-origin
(#1529)shinytest
package (#5677, #5703)_R_CHECK_LENGTH_1_CONDITION_
(#5268, #5363)memory.limit()
result with R >= 3.6.0 (#4986)DYLD_INSERT_LIBRARIES
after launch on macOS to prevent spurious library load errors (#5313)_R_CHECK_LENGTH_1_LOGIC2_
(#5268, #5363).Rprofile
(#4441).Rprofile
could hang RStudio (#4443)libxkbcommon
package on Linux (#4610)rprojroot
package (#4628)This is a maintenance release of RStudio which contains fixes for the following issues:
New Terminal tab for fluid shell interaction within the IDE
Support for xterm emulation including color output and full-screen console apps
Support for multiple terminals, each with persistent scrollback buffer
Web links in terminal can be clicked and opened in default browser (new tab for server)
Windows terminal supports multiple terminal shell types
Default Windows terminal shell type set in new Global Options/Terminal preferences pane
]f
and [f
to open adjacent files on the file systemwww-frame-origin
option for specifying framing permissionsauth-required-user-group
is set</div><div>
)New Emacs editing mode
Editor and IDE keyboard shortcuts can now be customized
Support for multiple source windows (tear editor tabs off main window)
New global and per-project options for line feed conversion
Snippets: pass parameters to snippet generating R functions
Split into lines command for multiple cursors (Ctrl+Alt+A)
New keyboard shortcuts to expand/contract current selection
Enhanced display of sections in R scope navigator
Added document outline display to R and C++ documents
New Close All Except Current command
Rename variable in scope (Cmd+Shift+Alt+M)
More context-sensitive highlighting of R keywords
Option to enable highlighting of R function calls
F2 now navigates into files (e.g. within calls to source)
Yank before/after (Ctrl+K, Ctrl+U) now use system clipboard on RStudio Desktop
Yank after cursor (Ctrl+K) no longer eats end of line character
Added option controlling ‘surround on text insertion’ behavior
RStudio Addins
New Session command (create new R session with same project or working directory)
Open project in a new window from the projects recently used menu
New Shiny App command for quick creation of Shiny applications
Data Viewer: Filter factor columns by text or level
Raise limit on shinyapps uploads to 1GB from 100MB
‘Edit -> Replace and Find’ opens Find toolbar if not already open (e.g. with Cmd+Shift+J)
Improve performance of console for large and/or rapidly updating output
Roxygen quick reference available from the Help menu
Links to RStudio cheat sheets available on the Help menu
Scan for Rtools in both HKCU and HKLM (for non-Admin installs of Rtools)
Run app command and shortcut now works for running single file Shiny applications
Move running Shiny apps between IDE panes and windows without restarting the app
Add support for single-file, standalone Shiny applications
Parse TeX magic comments that start with “%%” (ESS compatibility).
Change default Rpres template to specify autosize: true
Automatically create ~/.ssh directory if necessary on Windows
Added Makefile mode (used for Makefile, Makevars)
Always use LF for line endings in Unix Makefiles in R packages
Return environment variables as completions within Sys.getenv(), Sys.setenv() calls
Add ‘R Scripts’ preset filter to Find in Files dialog
OS X: Support for executing commands via AppleScript via ‘cmd’ verb
OS X: Enable WebKit WebGL by default
OS X: Enable WebKit DeveloperExtras by default
OS X: Enable creation of directories in folder picker dialog
Windows: Update to SumatraPDF 3.1.1
Added ability to zoom panes (e.g. Ctrl+Shift+1 to zoom source pane)
Add Console on Left/Right commands for quick relocation of Console
Add product and version metadata to Windows installer
Add askForPassword function to rstudioapi
Improved detection of Msysgit installation location on Windows
Improvements in file/function navigation:
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:
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)
Improvements to New Package:
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
browser()
and debug()
str()
for displaying object valuesNext generation of R Markdown based on pandoc
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
This release includes a variety of tools to support R package development, including:
There are also a number of features aimed at making it easier to write R documentation:
There is also integration with the devtools package, including:
devtools::load_all
devtools::dev_mode
devtools::dev_mode
when reloading and restarting R sessionsThis 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:
Rcpp::sourceCpp
Rcpp::compileAttributes
for package buildsNew 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
Find and Replace improvements:
Automatic indentation improvements:
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)
Plot zoom window improvements:
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)
Create projects that enable easy switching between working directories
Each project has its own RStudio context:
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
Quickly navigate to any file or function within a project using typeahead search
Go To Function Definition:
Back and Forward commands for quickly traversing navigation contexts (including tab switches)
Integrated support for binding projects to Git and Subversion repositories
Git/SVN pane:
Review changes window:
History window:
Support for multiple concurrent instances of RStudio
Global toolbar for accessing common file/navigational commands
Source editor improvements:
Manipulate package:
Shell command:
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
Run code:
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
Improved image export:
Improved PDF export:
Remove individual plots from history
Resizable plot zoom window
History tab synced to loaded .Rhistory file
New commands:
New options:
Shortcut keys for inserting into console or source
Check for package updates
Filter displayed packages
Install multiple packages
Remove packages
New options:
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:
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
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
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:
The docs on source code editing options include more details.
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:
For more details see the docs on appearance and layout options.
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:
More details as well as screenshots with examples can be found in the manipulate documentation.
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:
The docs on using different versions of R describe how RStudio determines which R to run against on each platform.
In this release we’ve significantly improved handling of non-ASCII characters, this includes:
See the character encoding documentation for more details.
We’ve added a number of new features to make it easier to switch between working contexts located in different directories. These include:
The docs on working directories and workspaces go into more depth on these features.
Improved size and legibility of default fonts on Windows & Linux
New keyboard shortcuts:
Add “return” to list of symbols syntax highlighted as a keyword
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 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: