James Balamuta
banner
coatless.bsky.social
James Balamuta
@coatless.bsky.social
omnipresent explorer of the unknown, fashionably caffeinated informatics phd, amorous cavalier. design, build, analyze. #rstats on #macos + #webr and #python with #pyodide
Nothing makes you feel vintage like your license getting moved to the retirement home directory. GNU put GPL 2.0 in /old-licenses/ causing #rstats packages to throw URL warnings. Somewhere a CRAN maintainer is rubbing their hands together, ready to trigger 847 email requests...
September 26, 2025 at 6:12 PM
macOS 26 Tahoe + R 4.5.1: Keeps #rstats moving along on #macOS. Upgrade confidently, just remember to update Xcode CLI afterwards if using stan & compiled code.
September 16, 2025 at 12:39 AM
R that travels light on #Linux: Portable R AppImages.

Now working everywhere: your Ubuntu, friend's Fedora, cousin's Arch setup (btw)

No sudo, no tears, just base R science ✨

(package support coming soon!)

#RStats #AppImage #DataScience
September 15, 2025 at 6:37 PM
Linux support 🐧

Same #rshiny → desktop workflow on #Fedora 42 aarch64:

shinyelectron::export() → #rshinylive#AppImage → portable #Linux app

Plot twist: no more "go buy yourself a real computer" moments - you get zero #rstats dependencies too! The condescending Unix users have won this round.
September 10, 2025 at 5:49 AM
Core Shiny Application (Shinylive Layer): 61.9 MB

This represents the base Shiny application code and dependencies

Platform-Specific Packaging Overhead (ARM64):

Windows: 300.1 MB
macOS: 264.1 MB
Linux: 304.9 MB

Total Application Size by Platform:

Windows: 362 MB
macOS: 326.4 MB
Linux: 366.8 MB
September 9, 2025 at 9:25 PM
By request: Same #rshiny app → native #electron desktop app workflow now on #Windows11

shinyelectron::export() → #rshinylive → installer → app.exe

[Worth the Parallels license to record this from my Mac]

Still no #rstats dependencies for end users. Living the cross-platform life (virtually).
September 7, 2025 at 5:57 AM
Prototyping #rshiny apps to native #electron desktop apps:

shinyelectron::export() → #rshinylive conversion → .dmg → Native Mac app

Zero #rstats dependencies for end users! Early days but promising 👀
September 4, 2025 at 7:35 AM
I think that covers SciServer Essentials v1.0. There are 4 different versions. The latest has software at #rstats 4.2.2 and #Python 3.9 inside of #JupyterLab.

The R+RStudio image has R 4.2.1 and RStudio Build 2022.07.2.

Maybe raise a ticket to update the underlying suites?
August 28, 2025 at 4:45 PM
TIL about SciServer.org: Free scientific computing platform with persistent accounts (#NSF-funded). All the power of #JupyterHub without the setup hassle. Focus on building great teaching + research notebooks, not infrastructure! #OpenScience
August 28, 2025 at 3:08 PM
Request fulfilled! Converted {macrtools::openmp_*()} #OpenMP suite into standalone shell scripts for #macOS:

🎯 Auto Xcode detection & OpenMP library mapping
🔬 Diagnostics tests
🧹 Safe uninstall

📦 Repo: github.com/coatless-she...
📝 Post: blog.thecoatlessprofessor.com/programming/...
August 27, 2025 at 2:27 AM
After my 6th cup of coffee, I've officially entered the owl dimension. My empty mugs have finally summoned their nocturnal overlord. We communicate only in hoots and caffeine-induced anxiety now. 🦉☕
August 22, 2025 at 2:21 PM
Finally, your R packages on #macOS can disappoint all your cores instead of just one of them at a time 😅

{macrtools} now installs & configures OpenMP with:

`openmp_install()` and you're done! ⚡️

mac.thecoatlessprofessor.com/macrtools/re...

#rstats #hpc
August 9, 2025 at 8:45 AM
Step 1: Write R code
Step 2: Share it
Step 3: Spend 2 hours helping someone install R and troubleshoot their environment

OR

Step 1: Write R code
Step 2: webR sharelink

webr.r-wasm.org/latest/?mode...

Step 3: Profit ✨

#rstats #webr
July 18, 2025 at 8:26 AM
Yes, through input$map_bounds. c.f.

shinylive.io/r/editor/#co...
July 13, 2025 at 9:13 AM
What is this? An R editor for ants?

@examplesWebR now goes full-screen because your data viz deserves better than a cramped iframe!

Click "Full-width" → no more squinting

Try it: rd.thecoatlessprofessor.com/webr-in-pkgd...

#rstats #webr
July 13, 2025 at 8:51 AM
Saturday morning hacking on {quarto-assign} that takes

One file → multiple outputs (assignment/solution/rubric)

Coming soon:

✨ Auto-numbering with {#exr-} integration
📦 Solutions in callouts

#quarto #rstats #python
July 12, 2025 at 6:44 PM
New in {rocleteer}: @examplesWebR tag lets you add interactive #rstats examples to your #pkgdown documentation with #webr!

📦 Pkg: github.com/coatless-rpk...
🎯 Demo pkgdown repo: github.com/coatless-r-n...
🌐 pkgdown website: rd.thecoatlessprofessor.com/webr-in-pkgd...
July 9, 2025 at 9:25 AM
Shoutout to @gws.phd for another #rstats #webR REPL update:

1. Shared code now auto-runs when you click links (by adding &a parameter to end of code=)
2. Choose your view: editor, plot, terminal, or files with ?mode='editor-plot'

Try it yourself: webr.r-wasm.org/latest/?mode...
July 9, 2025 at 6:10 AM
Experimenting with `@examplesWebR` - a new roxygen2 tag that makes R package examples interactive!

Instead of static code blocks, users get "View in webR REPL" buttons that open examples in their browser or the embedded webR REPL. No R installation needed!

🧵1/2 #rstats #webR
July 8, 2025 at 7:42 AM
#webR now has shareable links! Just like #Shinylive's editor, you can instantly share #rstats code snippets with colleagues.

Thanks to @gws.phd (webR creator) for adding this awesome feature to webR Latest (0.5.4-dev)!

Try it out with this demo snippet: webr.r-wasm.org/latest/#code...
July 7, 2025 at 11:45 PM
Scattered links 🔗 driving you crazy in a post?

The linkate Quarto extension automatically collects every URL and creates a tidy "Links" section at the bottom. Just add one line to your YAML!

📚 Docs: quarto.thecoatlessprofessor.com/linkate/
💻 Repo: github.com/coatless-qua...

#quarto
July 6, 2025 at 8:58 AM
Congratulations to Posit on the Positron IDE exiting beta!

This is huge for #python and #rstats data scientists - having a unified, modern IDE that speaks both languages fluently. Can't wait to see how this accelerates data science workflows!

Try it out here: positron.posit.co/download.html
July 3, 2025 at 5:09 AM
Struggling with $ signs breaking your #Typst templates in #Quarto? 🤯

Standard escaping doesn't work, but hex escape sequences do: \u{24}

Wrote up a quick note with Typst's ASCII table tool for finding any character's hex code.

blog.thecoatlessprofessor.com/programming/...
June 20, 2025 at 4:15 AM
After disrupting the notebook world, #marimo is expanding to markdown with a new #Quarto extension (WIP)!

marimo-team.github.io/quarto-marimo/

What's marimo? Reactive #jupyter -like notebooks that automatically run cells when code changes. marimo islands is making this tech portable everywhere 🏝️
May 30, 2025 at 2:10 AM
Nothing says 'modern CI/CD' like using R to install Python packages because {reticulate} said so 🙃 #rstats
May 29, 2025 at 3:44 AM