WebR Filesystem Machinations & ReefR

| | R, webr
It’s difficult to believe it has only been a couple of weeks since WebR has been around. But that might just be my perception. The spike protein invasion has significantly increased sedentary time, and that has enabled me to focus on this new toy to keep my attention focused on ... Read More

The Road To ggplot2 In WebR, Part 1: The Road Is Paved With Good Base R Plots

| | ggplot, R, webr
I have graphics working in Vanilla JS WebR, now, and I’ll cover the path to that in two parts. The intent was to jump straight into ggplot2-land, but, as you saw in my previous post, WASM’d ggplot2 is a bear. And, I really didn’t grok what the WebR site docs ... Read More
Screen capture of DevTools showing ggplot2 dependent packages loading.

WebR WASM R Package Load/Library Benchmarking Rabbit Hole

| | Javascript, R, webr
I have a post coming on using base and {ggplot2} plots in VanillaJS WebR, but after posting some bits on social media regarding how slow {ggplot2} is to deal with, I had some “performance”-related inquiries, which led me down a rabbit hole that I’m, now, dragging y’all down into as ... Read More

Almost Bare Bones WebR Starter App

| | R, webr
Let’s walk through how to set up a ~minimal HTML/JS/CS + WebR-powered “app” on a server you own. This will be vanilla JS (i.e. no React/Vue/npm/bundler) you can hack on at-will. TL;DR: You can find the source to the app and track changes to it over on GitHub if you ... Read More

WebR IS HERE!

| | d3, R, rstats, WASM, WebAssembly, webr
WebR 0.1.0 was released! I had been git-stalking George (the absolute genius who we all must thank for this) for a while and noticed the GH org and repos being updated earlier this week, So, I was already pretty excited. It dropped today, and you can hit that link for ... Read More
Shaft Silhouette with Can You Dig It below

“Bizarre” DNS Hacks For Fun And, Um…, Fun

| | dns, Go, golang, hacks
I’ve been (slowly) making my way through FOSDEM `23 presentations and caught up to Peter Lowe‘s “Bizarre and Unusual Uses of DNS • Rule 53: If you can think of it, someone’s done it in the DNS” talk. DNS oddities are items I collect whenever I see them, and while ... Read More
🐘

Honk If You Like The Fediverse!

| | fediverse, Go, golang, mastodon
This is a re-post from today’s newsletter. I generally avoid doing this but the content here is def more “bloggy” than “newslettery”. You can now receive these blog posts in your activity stream. Just follow @[email protected] and the new posts from here will slide right into your timeline. So, you’ve ... Read More

Fall Foliage: JavaScript/OJS Edition

| | d3, Javascript, Observable, Quarto
I’ve been (mostly) keeping up with annual updates for my R/{sf} U.S. foliage post which you can find on GH. This year, we have Quarto, and it comes with so many batteries included that you’d think it was Christmas. One of those batteries is full support for the Observable runtime ... Read More

ohq2quarto — Rust-Based CLI For Turning Observable Notebooks Into Quarto Projects

| | Quarto
The previous post had some hacky R code to grab seekrit JSON data in ObservableHQ (OHQ) Notebooks and spit out a directory with a Quarto qmd and any associated FileAttachments. Holding firm to my “no more generic public R packages” decree, that’s as far as the R code for that ... Read More

Bootstrapping An {ojs} Quarto Document With An Observable Notebook

| | Quarto, R
Quarto is amazing! And, it’s eating the world! OK. Perhaps not the entire world. But it’s still amazing! If you browse around the HQ, you’ll find many interesting notebooks. You may even have a few yourself! Wouldn’t it be great if you could just import an Observable notebook right into ... Read More