What’s New in R: November 30, 2026
Welcome to this week's edition of What's New in R! This week, we're featuring a guide to running R code in your browser with nothing to install, a new package from Posit for making PDFs that look the same everywhere, and a workshop on making graphs that are both on message and on brand. Let's dive in!
How to Run R Code Online (No RStudio, No Install)
If you need to run a bit of R on a computer where you can't install anything, Avinash Kori's guide on Devtoolry shows how to do it entirely in your browser. The site's R compiler runs R 4.6 through webR, so your code and data stay on your own device, and the guide walks through printing values, exploring built-in datasets like mtcars, fitting a linear model, reading input, and making sense of common error messages. It's upfront about the limits: you only get base R (no {dplyr} or {ggplot2}), plots don't display, and you can't read files from your computer. It's not a replacement for RStudio or Positron, but for quickly checking a function or working through a statistics exercise, it does the job.
{portable}
Thomas Lin Pedersen of Posit has done a lot of work making it easy to save plots from R in different formats, with {ragg} for PNGs and other images and {svglite} for SVGs. His new package, {portable}, does the same for PDFs. It's built on the same font foundation as those packages ({systemfonts} and {textshaping}), and it embeds fonts directly in the file, so your PDF looks the same on any computer. It also supports newer R graphics features like blend modes without turning them into images, which is what the built-in pdf() device does. Using it is simple: call portable_pdf() wherever you would use pdf(). It's not on CRAN yet, but you can install the development version from GitHub.
On message and on brand - Compelling, accessible graphs with R and ggplot2
In this 45-minute workshop for the MaineR User Group, Cara Thompson walks through how to make graphs that are both on message and on brand. She starts by asking what the people who will see a graph really need from it, then builds a reusable {ggplot2} theme so that any future chart matches your organization's look, using new features in the latest {ggplot2} release, like setting default fonts, colors, and point shapes for geoms right in your theme. Cara's talk page has the slides, the full code, and links to the tools she mentioned for checking that your colors are accessible. If you've ever wanted every chart your team makes to look like it belongs together, this is a great place to start.
If you enjoyed this issue of What's New In R, please share it with a friend! And if they want to get What's New in R directly in their inbox, they can sign up on the R for the Rest of Us website.
Got any ideas for resources I should feature in future issues of What's New in R? Leave a comment below!
Sign up for the newsletter
Get blog posts like this delivered straight to your inbox.
You need to be signed-in to comment on this post. Login.