Skip to content
R for the Rest of Us Logo

What’s New in R: March 24, 2025

Welcome to this week’s edition of What’s New in R! This week, we’re featuring a deep dive into regular expressions, a guide to working with column names in R, and a clever solution for rotating plots. Let’s dive in!

Baby got backreferences

Danielle Navarro has written an excellent tutorial on backreferences in regular expressions, a powerful but often misunderstood feature. Through clear examples and step-by-step explanations, she demonstrates how backreferences can be used to match repeated patterns and perform complex string manipulations. The post includes practical examples that show how to apply these concepts in real-world data cleaning scenarios.

Read More →

Which names that are also names of countries are most common?

Random question, interesting analysis. In this blog post, Simon Couch uses the {babynames} and {countrycodes} packages and a bit of tidyverse-style analysis to answer the question: Which names that are also names of countries are most common? Any guesses as to which names/countries top the list?

Read More →

Rotate the damn plot

Plots with text that makes the reader turn their head aren’t great. In this blog post, Ilya Kashnitsky gives a simple solution: rotate the damn plot. He recreates a difficult-to-read plot before rotating it to make it easier to read. Not only that; he also improves the plot, turning it into a dot plot. Check it out!

Read More →

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.

Let us know what you think by adding a comment below.

You need to be signed-in to comment on this post. Login.

David Keyes
By David Keyes
March 24, 2025

Sign up for the newsletter

R tips and tricks straight to your inbox.