RStudio IDE

RStudio is an integrated development environment (IDE) for the R programming language

Year
2016
Status
active
Tags
Repo
https://github.com/rstudio/rstudio (opens in a new tab)
Site
https://posit.co/products/open-source/rstudio (opens in a new tab)
Docs
https://docs.posit.co/ide/user (opens in a new tab)

History

RStudio started as a personal project of JJ Allaire (opens in a new tab) around 2009, with the first public beta in 2011.

I joined RStudio (the company, now named Posit PBC) (opens in a new tab) in 2016 to work on RStudio (the IDE) (opens in a new tab). I’m still working for Posit, still working primarily on RStudio.

Tech Stack

The majority of the user interface is built using the Google Web Toolkit (GWT) (opens in a new tab) which transpiles Java sources to JavaScript. This enables RStudio to be used both as a server-based application reached via web-browser, or as a desktop application using Electron to host the web UI.

RStudio Desktop

Electron wasn’t a thing when RStudio was created. Initially it used QtWebKit from the Qt framework (opens in a new tab) for Windows and Linux, and the WebKit framework’s WebView class for macOS. This was updated to QtWebEngine, and the Mac-specific variant combined back into a unified codebase. In the early 2020s, we moved to Electron.

RStudio Server

RStudio Server runs a C++ backend process that acts as an http server, and can start one or more “R session” processes via another C++ component that links with the R libraries.

RStudio Pro (Workbench)

The commercial version of RStudio used to be known as RStudio Server Pro, but is now called RStudio Pro and is just one of the IDEs available in Posit Workbench (opens in a new tab).

My Features

I’ve worked on a wide variety of features in RStudio. Here are some of the more interesting ones, at least to me.

Terminal Pane

My first feature was adding the terminal pane to RStudio, using xterm.js (opens in a new tab). On Windows, I had to use winpty (opens in a new tab) to provide the pty-like features that are built in to macOS and Linux. Windows 11 (and later builds of Windows 10) include a real implementation, ConPTY (opens in a new tab), but we haven’t switched to it yet. UPDATE: I finally made the switch (opens in a new tab) from winpty to ConPTY in RStudio 2026.06.

Licensing

RStudio Desktop Pro is a paid (closed-source) version of RStudio, mostly adding support and licensing. I added the licensing, which uses LimeLM (opens in a new tab). This was already used to license Workbench and other commercial products, but those were all Linux-only server products, so I had to extend to include macOS and Windows support.

Accessibility

RStudio had extremely poor accessibility for keyboard-only and screen reader users. I did a bunch of work to improve this, including changes to our GWT fork, and now most of the product can be used via the keyboard and meets contrast standards.

Screen-reader support is still problematic in some areas, but I try to chip away at it when I can.

As part of this, I became very familiar with WCAG, using screen readers (VoiceOver, JAWS, NVDA), and performing formal accessibility audits. I used Be Inclusive (opens in a new tab) to capture and share results.

Electron

I did the bulk of the work to move RStudio from QtWebEngine to Electron.

Posit Assistant

Most recently, I was heavily involved in bringing agentic coding to RStudio via integration of Posit Assistant. This included adding the sidebar pane (full-height column), implementing a downloadable plug-in model for the AI features (they don’t ship with RStudio itself but are an optional feature), and bootstrapping the overall architecture. This shipped in April 2026, after a few months of closed and open betas.

What’s Next?

Although Posit has put a lot of focus on the Positron IDE (opens in a new tab), RStudio itself is still very widely used, and there is a never-ending list of features and issues to tackle, so not likely to be bored anytime soon.

RStudio IDE with the Posit Assistant pane open in the sidebar