Hadley Wickham's Avatar

Hadley Wickham

@hadley.nz

R, data, πŸ•, 🍸, 🌈. He/him.

14,388
Followers
224
Following
824
Posts
16.04.2024
Joined
Posts Following

Latest posts by Hadley Wickham @hadley.nz

Claude code is as good at writing R code as me, in the small. (Still isn’t as good in the large)

07.03.2026 03:30 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Can’t bring your own key for _yet_.

07.03.2026 03:27 πŸ‘ 2 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

So you’re assuming it’s been rendered once

06.03.2026 21:20 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

So always?

06.03.2026 18:45 πŸ‘ 3 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

How does it access the rendered plot?

06.03.2026 18:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I am glad that Bluesky has now captured all the best parts of #rstats twitter: dank memes, sick burns, hot takes, and flame wars.

06.03.2026 18:40 πŸ‘ 135 πŸ” 10 πŸ’¬ 4 πŸ“Œ 4

I've got to say no no no #RStats

06.03.2026 14:26 πŸ‘ 47 πŸ” 7 πŸ’¬ 3 πŸ“Œ 0
Video thumbnail

RStudio now has next edit suggestions! I wrote a bit about how they work and have open-sourced the eval we used to engineer the system's prompt: www.simonpcouch.com/blog/2026-03...

06.03.2026 14:07 πŸ‘ 28 πŸ” 8 πŸ’¬ 0 πŸ“Œ 1
Preview
Data Visualization A Practical Introduction

Here’s a full draft of the upcoming second edition of my β€œData Visualization: A Practical Introduction”: socviz.co

05.03.2026 22:54 πŸ‘ 509 πŸ” 163 πŸ’¬ 12 πŸ“Œ 15

But not tibbles!

06.03.2026 00:41 πŸ‘ 5 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We are working super hard on it! So hopefully soon

05.03.2026 19:51 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

My hope is we can do more cheaper plans once we have more data about how much it costs to run. We want it to be sustainable in the long term which means being financially cautious to start with.

05.03.2026 19:50 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
I'm Not a Robot Prove your humanity once and for all

This makes me think of a fun captcha game I played once called I’m not a robot -

neal.fun/not-a-robot/

05.03.2026 16:38 πŸ‘ 11 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
Screenshot of a plot legend showing two colored lines: a red line and a blue line. The red line is labeled "blue" and the blue line is labeled "red"

Screenshot of a plot legend showing two colored lines: a red line and a blue line. The red line is labeled "blue" and the blue line is labeled "red"

Turns out if you put the color argument inside the aesthetic instead of outside by mistake, you can get the most confusing ggplot legend ever #rstats

05.03.2026 14:25 πŸ‘ 55 πŸ” 10 πŸ’¬ 4 πŸ“Œ 0
Preview
How to choose the best LLM using R and vitals Use the vitals package with ellmer to evaluate and compare the accuracy of LLMs, including writing evals to test local models.

R folks listening to this morning's #NICAR26 session on extracting data from documents and - importantly! - how to check your results: You can set up and run evaluations of LLM results with the {vitals} #rstats πŸ“¦
www.infoworld.com/ar... #DDJ

05.03.2026 14:27 πŸ‘ 12 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
A digital CAPTCHA verification window titled "Select all squares with PIPES" against a plain white background. The window contains a 3Γ—3 grid of numbered squares, mixing literal hardware, smoking pipes, and programming syntax.

A digital CAPTCHA verification window titled "Select all squares with PIPES" against a plain white background. The window contains a 3Γ—3 grid of numbered squares, mixing literal hardware, smoking pipes, and programming syntax.

These captchas just keep getting harder #rstats

05.03.2026 15:58 πŸ‘ 602 πŸ” 138 πŸ’¬ 8 πŸ“Œ 2
A screenshot of an RStudio window. On the left-hand side is a new pain called Posit Assistant. The Posit Assistant had recently run code making a lat-lon plot of Washington state, colored by whether the point had been marked as forested or not.

A screenshot of an RStudio window. On the left-hand side is a new pain called Posit Assistant. The Posit Assistant had recently run code making a lat-lon plot of Washington state, colored by whether the point had been marked as forested or not.

Today we're releasing AI for RStudio. It's really, really goodβ€”I'd encourage you to point it at the messiest data sources you have and see what it can do.

www.simonpcouch.com/blog/2026-03...

05.03.2026 15:48 πŸ‘ 113 πŸ” 32 πŸ’¬ 7 πŸ“Œ 5

I mean technically you can’t load the tidyverse without base R so πŸ€·β€β™‚οΈ

05.03.2026 03:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I wrote something. I hope it can be the start of more conversations about AI and the choices we all have to make.
erincikanek.com/the-rumors-o...

03.03.2026 18:00 πŸ‘ 27 πŸ” 9 πŸ’¬ 1 πŸ“Œ 4
Preview
A Few Claude Skills for R Users – R Works The community has come together to create some great Claude Skills that you can try out today.

I rounded up a few Claude Skills for #RStats users.

Huge thanks to the creators who developed them. They share Skills for everything from tidyverse code to brand.yml files to learning while using AI.

Hope the list is useful, and please let me know what I missed! 🧑

rworks.dev/posts/claude...

03.03.2026 14:05 πŸ‘ 133 πŸ” 38 πŸ’¬ 4 πŸ“Œ 4
A pink and blue graphic reading "apply for our opportunity scholarship to posit::conf(2026)."

A pink and blue graphic reading "apply for our opportunity scholarship to posit::conf(2026)."

We are covering 40 people's travel, lodging, and registration for posit::conf() this fall! If you are from a group that is underrepresented in data science or open source, please consider applying for the Opportunity Scholarshipβ€”we'd love to have you join.

posit.co/blog/apply-t...

03.03.2026 15:17 πŸ‘ 21 πŸ” 15 πŸ’¬ 2 πŸ“Œ 1

they're a 10 but they don't like tibbles

02.03.2026 22:19 πŸ‘ 27 πŸ” 7 πŸ’¬ 3 πŸ“Œ 1
A birthday card generated by Google Nano Banana from the prompt: "Can you make a birthday card or an image of a birthday cake for R software? R 1.0.0 was first released on February 29, 2000
[It gets the birthday WRONG.]

A birthday card generated by Google Nano Banana from the prompt: "Can you make a birthday card or an image of a birthday cake for R software? R 1.0.0 was first released on February 29, 2000 [It gets the birthday WRONG.]

#TodayinHistory #dataviz #OTD πŸ“Š
πŸŽ‚Happy #Rstats birthday!

R 1.0.0 was first released on February 29, 2000.
Does that make it 26 or just 6.5 leap-years old?
www.r-consortium.org/blog/2023/02...
[Cake by Nano Banana, but it gets age WRONG.]

02.03.2026 02:10 πŸ‘ 42 πŸ” 8 πŸ’¬ 3 πŸ“Œ 0
Post image Post image Post image Post image

The entire Democratic strategy debate β€” "moderate" or move left? fight or compromise? β€” is based on a misreading of data. Voters don't think Dems are too progressive; they think Dems are weak. The actual math on what to do about this isn't even close!
New: www.gelliottmorris.com/p/new-poll-d...

27.02.2026 13:02 πŸ‘ 7880 πŸ” 2455 πŸ’¬ 343 πŸ“Œ 376
Video thumbnail

When D3 was released in February 2011, it transformed how we build data visualizations for the web and ushered in a new age of unbridled creativity in information design, data journalism, and beyond. Today, it remains the backbone of modern, interactive data viz.

Happy 15th birthday, D3 πŸŽ‚
d3js.org

27.02.2026 20:38 πŸ‘ 163 πŸ” 38 πŸ’¬ 0 πŸ“Œ 7

tryCatch(
plums |>
icebox()|> mutate (
delicious=if _else(cold & sweet)
) -> me

error_no_breakfast=function(e) "forgive me"
)

27.02.2026 21:18 πŸ‘ 14 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

It feels a little better at instruction following to me

27.02.2026 20:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
A code editor containing R code with a panel on the right showing a comment from 'Tidy reviewer'. On the left, the workspace setup section loads various libraries including tidyverse, extraDistr, MASS, cmdstanr, and bayesplot. Three lines (tidyr, purrr, and ggplot2) are highlighted in red, indicating they've been flagged. The 'Tidy Reviewer' panel displays feedback explaining that these three packages are redundant because tidyverse already includes them, suggesting their removal to simplify dependencies.

A code editor containing R code with a panel on the right showing a comment from 'Tidy reviewer'. On the left, the workspace setup section loads various libraries including tidyverse, extraDistr, MASS, cmdstanr, and bayesplot. Three lines (tidyr, purrr, and ggplot2) are highlighted in red, indicating they've been flagged. The 'Tidy Reviewer' panel displays feedback explaining that these three packages are redundant because tidyverse already includes them, suggesting their removal to simplify dependencies.

In this @posit.co AI Newsletter, GGML joins hugging face, and some reflections on a Docs-style interface to LLM code review in #rstats.

posit.co/blog/2026-02...

27.02.2026 17:52 πŸ‘ 5 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

Congratulations! The tidyverse team has selected YOU for our next ritual sacrifice of unbelievers! It is a great honour.

27.02.2026 20:13 πŸ‘ 10 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Have you tried prompting it to call Rscript -e? That’s the easiest starting point and what we do with Claude

27.02.2026 18:54 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0