Grant McDermott's Avatar

Grant McDermott

@gmcd.bsky.social

Economics and data science | Former academic now working in the tech sector | Views my own | πŸ‡ΏπŸ‡¦ in πŸ‡ΊπŸ‡Έ | https://grantmcdermott.com/

4,937 Followers  |  150 Following  |  547 Posts  |  Joined: 07.06.2023  |  1.8988

Latest posts by gmcd.bsky.social on Bluesky

Hmmm, I wouldn't say the problem is the availability of binary-build channels. Alongside r2u (great albeit Ubuntu only), there's rspm and the Posit manylinux repo (both multi-distro). The problem is conda hijacking and/or overriding these channels, so that they don't work like normal :-/

03.10.2025 03:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yeah, unfortunately the inconsistency is the killer here. I've also run into a (related?) problem of missing pre-compiled binaries on some Linux distros that we use at work. So you end up having to install + compile everything from source ☠️

02.10.2025 21:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Jeroen (@jeroenooms@fosstodon.org) Is @conda for R completely dead now? Seems like all R package builds on conda-forge have been failing for months, and nobody cares?

RE: lack of love for conda-forge, see this thread by @jeroenooms.bsky.social fosstodon.org/@jeroenooms/...

02.10.2025 21:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

It's a constant stream of untaxed negative externalities that I can only assume are part of some cunning grand plan for language hegemony.

30.09.2025 18:53 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Old ground, but I still cannot believe how poorly 🐍 plays with other languages. Okay, we're going to force you to do everything in a venv (b/c otherwise we break everything...) But that venv is going to auto instantiate and override any system level env vars or processes that you've set ☠️

30.09.2025 18:51 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Fair points. Still, if you feel like modifying / playing around... bsky.app/profile/gmcd...

30.09.2025 00:14 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Successfully nerdsniped myself into writing a little script for this. gist.github.com/grantmcdermo...

(Longer than it probably needs to be bc of annoying Wiki table formatting, but I'm too lazy to find another source.)

30.09.2025 00:12 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

Hmmm, I don't think so. If the state of the system hinges on a few critical units then I think you want to model those directly. To the OP, if we don't see much volatility of those marginal units over time then I don't think it makes sense to talk about "close" vs "big" victories, no?

28.09.2025 21:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Not giving CM the inside ball at 1:30 (beautiful line!) was a legitimate gripe. But vanishingly few of those.

28.09.2025 21:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

No. (Carry on.)

28.09.2025 21:30 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Whoaβ€”my book is up for pre-order!

𝐌𝐨𝐝𝐞π₯ 𝐭𝐨 𝐌𝐞𝐚𝐧𝐒𝐧𝐠: 𝐇𝐨𝐰 𝐭𝐨 𝐈𝐧𝐭𝐞𝐫𝐩𝐫𝐞𝐭 π’π­πšπ­ & πŒπ‹ 𝐌𝐨𝐝𝐞π₯𝐬 𝐒𝐧 #Rstats 𝐚𝐧𝐝 #PyData

The book presents an ultra-simple and powerful workflow to make sense of Β± any model you fit

The web version will stay free forever and my proceeds go to charity.

tinyurl.com/4fk56fc8

17.09.2025 19:49 β€” πŸ‘ 266    πŸ” 84    πŸ’¬ 10    πŸ“Œ 4

Not that I disagree with the sentiment, but isn't the way to evaluate US victory "closeness" by looking at the minimum no. of voters that could have swayed the EC?

28.09.2025 15:54 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 1
Post image

Rinse and repeat.

28.09.2025 03:54 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1
tinyplot showing US GDP since 1980 with recessions highlighted in the background

tinyplot showing US GDP since 1980 with recessions highlighted in the background

Clearly not the most important news coming out of Oregon tonight, but I just added a recession bars example to the tinyplot β€œTips & tricks” vignette. grantmcdermott.com/tinyplot/vig... #rstats

28.09.2025 03:50 β€” πŸ‘ 26    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0

Ask yourself if this is the kind of country you want to live in

25.09.2025 18:16 β€” πŸ‘ 457    πŸ” 136    πŸ’¬ 21    πŸ“Œ 3
R: Add Points to a Plot

search.r-project.org/R/refmans/gr...

The real pros (TM) use symbols > 32 or cut straight to Unicode, e.g. pch/shape = "\u2642" πŸ₯΄

24.09.2025 16:37 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

We enforce R >= 4.0.0 to make use of some of the newer palettes that became available at the time. But I sometimes wonder how far back `tinyplot` _could_ have been implemented from a purely technical perspective. I think the hard req. would be recordGraphics, which was introduced in R 3.1.0 IINM.

24.09.2025 15:32 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Gallery – tinyplot

It's in the gallery linked in the alt text: grantmcdermott.com/tinyplot/vig...

If you just want the exact code, here's the snippet file. github.com/grantmcdermo...

24.09.2025 15:21 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The (g)goat, for sure. Hopefully we're filling a useful niche.

23.09.2025 16:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

My man πŸ€œπŸ€›

23.09.2025 02:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

+1

Exciting stuff, thanks for sharing @dfalbel.bsky.social.

23.09.2025 02:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
tinyplot bubble chart example with dual legend, using penguins data. Taken from https://grantmcdermott.com/tinyplot/vignettes/gallery.html

tinyplot bubble chart example with dual legend, using penguins data. Taken from https://grantmcdermott.com/tinyplot/vignettes/gallery.html

`tinyplot` 0.5.0 is now available from CRAN & R-universe. Alongside bug fixes & internal improvements, this release includes some cool new features like bubble chart + dual legend support, element dodging, & ephemeral themes.

Detailed changelog: grantmcdermott.com/tinyplot/NEW...

#rstats #dataviz

23.09.2025 02:41 β€” πŸ‘ 58    πŸ” 14    πŸ’¬ 1    πŸ“Œ 3

Update: it won't see us through the winter, but a respectable harvest through the season.

19.09.2025 00:54 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
"Whoever designed the human visual system has a lot to answer for. Maybe not as much as the knee team, or the lower back group. But a lot." Quote from @kjhealy.co

"Whoever designed the human visual system has a lot to answer for. Maybe not as much as the knee team, or the lower back group. But a lot." Quote from @kjhealy.co

Word. Whenever someone asks me for career advice these days, I reply without irony: "Work on your core."

18.09.2025 23:39 β€” πŸ‘ 5    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Now you have my attention!

(Seriously, sounds great. I'd love to see a demo if/when you have one to share.)

18.09.2025 22:31 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Welcome to rv rv - A fast, declarative, R package manager

Relatively early doors, but `rv` is very promising and has worked well for the projects that I've used it in. a2-ai.github.io/rv-docs/

18.09.2025 22:29 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yeah, very nice. Fwiw, I recall seeing on Mastodon that Seb Fischer (and maybe @dfalbel.bsky.social?) are proving out an equivalent R framework with bindings to the same upstream XLA / JIT libraries.

16.09.2025 19:56 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Oh, really nice on the AD support. I'm a little uncomfortable with the Py dependency, but I can appreciate the dev benefits that flow from a common backend (and Jax is a truly best-in-class IME).

16.09.2025 18:54 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

🀩

12.09.2025 17:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

(Details, for those that need 'em: blog.thecoatlessprofessor.com/programming/...)

11.09.2025 16:35 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@gmcd is following 20 prominent accounts