Skip to main content

Pretty Good Hat

Python + R in Quarto

I’ve been using Quarto for just about everything I can for the past year, advocating for it enthusiastically with anybody who will listen, but today was the first time I started experimenting with combining python and R in a single Quarto document.

Look, I’m somewhat on record as not liking jupyter notebooks. I don’t like how the file format requires an interpreter, which I feel hurts readability and portability. So I’m predisposed to really like something that reduces that friction, and, wow — python in Quarto hits it.

And passing data, interactively, between R and python kernels within a single interface of a Quarto document? That’s mind blown meme territory right there. It might motivate me to learn more python in an environment I like to work, and should also be a great gateway to go the other way: The python to R pipeline! I’m envisioning some learning and tutorial work that takes advantage of both approaches, just deeply excited about what it opens up for doing data work and data people.

See more: Nicola Rennie’s post is a great overview, and I also learned from Danielle Navarro’s writeup of using reticulate.

A scatterplot showing five days of game history. The plots for June 3 and 4 are dense, with lots of varying size dots representing games. About two thirds of the dots on the plot show winning games.

Destiny 2 talk: I had a good time in Iron Banner games this weekend. Most of my matches were fun. I didn’t have any long losing streaks like last season, and really liked the build I settled on. Maybe next time I’ll play my other characters, but it’s all for fun now that I completed the gilded title one more time!

I’m so deeply disheartened at Vice’s shutting down of Waypoint. It has been such a source of insight and joy. If its strong patron-supported model of critique and community can’t survive – and let’s be clear, it’s not that it didn’t make money; it didn’t make enough money for some small group of assholes to care enough to keep it on the books – then… well, fuck capitalism, go home.

The next few weeks of podcasts are going to sad bangers.

Continuing my weekend of exploring my own web stuff, I’m digging into my logs for the first time in a while, and finding GoAccess to be a really nice, lightweight, and useful tool.

This afternoon’s tinkering with some Hugo config has sent me down a rabbit hole, I tell you what. I’m wandering through the SQL tables of my old Textpattern site (first post, Jan 2002!) and scrolling deep in my long-unused Day One journals. I started with thinking about picking up Day One again for a focused photo journal, and now I’m hit with this almost crushing weight of seeing so many memories collected together. It’s a lot, y’all.