Malcolm 朝精 Barrett
banner
malcolmbarrett.malco.io
Malcolm 朝精 Barrett
@malcolmbarrett.malco.io

Ph.D., epidemiology. research software engineer @ Stanford Health Policy. living in Ann Arbor. open-source data science. causal inference. doing poems on aircrafts. approximately Bayesian. formerly Posit, Apple, AmeriCorps. 心を燃やせ。sic semper tyrannis. .. more

Art 37%
Education 11%
Pinned
Link broke! Here is the current link: www.r-causal.org/chapters/04-...

Reposted by Barrett

now for the traditional eating of the christmas tree

Reposted by Barrett

all my writing is trending toward good

72.49530001
not the kind of behavior I expect from the winner of the fifa peace prize
Merriam-Webster’s human editors have chosen ‘slop’ as the 2025 Word of the Year.

the word about %notin% is out baby
Back in the top 10, baby!

Eat your heart out, "#rstats is dying" thinkpieces. 😜

www.tiobe.com/tiobe-index/
TIOBE Index - TIOBE
www.tiobe.com
Back in the top 10, baby!

Eat your heart out, "#rstats is dying" thinkpieces. 😜

www.tiobe.com/tiobe-index/
TIOBE Index - TIOBE
www.tiobe.com

Reposted by Barrett

The ability to specify colours with a 3-digit hex (e.g. "#12A" as equivalent to "#1122AA"). It was the first patch I was involved with, so it's especially dear to me! It's also makes changes to C code.

github.com/r-devel/r-pr...

With @oberman.bsky.social @malcolmbarrett.malco.io @gws.phd
3-digit hex colors · Issue #74 · r-devel/r-project-sprint-2023
Discussed in #73 Originally posted by pmur002 August 30, 2023 A post on fosstodon suggests adding support for "#RGB" colours in R (in addition to existing "#RRGGBB" colours. This may not be an urge...
github.com

hold on, I didn't get visited by one last year. Am I now obligated to provide a spirit?
One of the many reasons AI can't produce good writing is it can't hate its own writing. It can't think to itself "Maybe I'm illiterate" during the writing process. And that's essential
Big new blogpost!

My guide to data visualization, which includes a very long table of contents, tons of charts, and more.

--> Why data visualization matters and how to make charts more effective, clear, transparent, and sometimes, beautiful.
www.scientificdiscovery.dev/p/salonis-gu...

Reposted by Barrett

Want your Quarto PDFs to actually look good?

Use Typst's "set" rules for global text formatting and "show" rules to target specific elements like headings.

Mix fonts, colors, sizes et cetera to make those reports pop!

See full tutorial: buff.ly/uMXvUzR

#rstats #quarto #typst #dataviz

honestly the most important discovery here is the similarity between air jordan and lambda. I don't think I'll be able to unsee that

Reposted by Barrett

Today I'm talking about contributing to base R 💻

Are you curious about how to improve the language we love, at its core?

This is a thread for you!

#RStats

Reposted by Barrett

oh yea

Luckily, I’ve had a fever for two days. My brain is cooked, but I make a great heater

Winter is an affront to all cats
%notin% coming soon to an #rstats environment near you 🤩

developer.r-project.org/blosxom.cgi/...
Daily News: R-devel/NEWS
developer.r-project.org

Reposted by Barrett

People rarely check the positivity assumption but I’d say 5% of the time it shows something strange is going on that we wouldn’t have caught otherwise.

startup idea: invent a shipping status email that says "your package hasn't shipped yet but we got the order" instead of "your order has shipped!"

My gramma always said if you want to sleep better have a glass of warm milk and time-order your dag

that is why I am hoping to make that the default layout in ggdag sooner than later!

Reposted by Barrett

There's a video course that follows the "Automate the Boring Stuff with Python" book on Udemy. Here's a free sign up code for lifetime access: inventwithpython.com/automateudemy
Automate the Boring Stuff with Python Programming Course
A practical programming course for office workers, academics, and administrators who want to improve their productivity.
inventwithpython.com
🎄 ANNOUNCEMENT: R Package Development Advent Calendar 2025! 🎄

Starting December 1st, I'm launching a 25-day journey through modern R package development. here's why you should follow along 🧵

#rstats #RPackageAdvent2025 #OpenSource

Reposted by Barrett

I am challenging The Grinch to a debate

Andrew have you considered that perhaps you made too many pies

Reposted by Barrett

Small Business Saturday is a great time to shop at independent bookstores!

You can buy my book through one of them via Bookshop:

bookshop.org/p/books/sql-...
SQL for Data Scientists: A Beginner's Guide for Building Datasets for Analysis
A Beginner's Guide for Building Datasets for Analysis
bookshop.org

Reposted by Barrett

Finally got around to switching my in-browser #rstats R Primers website to use the newer better-supported #QuartoPub Live extension, which will now let me eventually add nicer inline feedback someday

- Free primers site: r-primers.andrewheiss.com
- Extension: r-wasm.github.io/quarto-live/