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
Pinned
Thank you @pyopensci.org! 🙏 These 6 months as EiC have been incredibly rewarding - from reviewing innovative tools to working with an amazing community of developers. Excited to continue contributing to making computational science more accessible! #OpenSource #Python #DataScience
Cheers to James Balamuta for wrapping up 6 months as pyOpenSci Editor in Chief! 🎉 His #R + #Python skills + passion for accessible tools made a big impact. Grateful he’ll keep contributing!

💡 Want to join our peer review crew? www.pyopensci.org/software-pee...
One does not simply stay away from social media. I return with: R packages, portable R, Shiny/shinylive apps, Electron integrations, Python packages, Quarto extensions, LLMs, and blog posts. The code has been reforged. The roadmap is full.
October 23, 2025 at 5:20 AM
Reposted by James Balamuta
Still fascinated with #webR and its potential for teaching stats

Here students can play (even from their phones) and find out themselves how the p-value depends on sample size

pakillo.github.io/LM-GLM-GLMM-... #rstats
October 22, 2025 at 6:36 AM
Reposted by James Balamuta
@coatless.bsky.social also did that few months ago using another approach based on JavaScript.

"Pick your poison" 🙃

github.com/coatless-qua...
GitHub - coatless-quarto/toggle: Toggle Code Output in Quarto Code Cells
Toggle Code Output in Quarto Code Cells. Contribute to coatless-quarto/toggle development by creating an account on GitHub.
github.com
October 10, 2025 at 4:26 PM
Reposted by James Balamuta
Quarto has a way to collapse code, but what if you want to collapse code OUTPUT?

The amazing @mickael.canouil.fr created an extension that does just that!!!

Check it out! github.com/mcanouil/qua...
October 10, 2025 at 4:09 PM
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
Flying to Istanbul to meet my SO's family felt like nervous excitement. Flying to California felt like possibility. Flying back home for a funeral feels like gravity remembering how to work. Now Illinois feels like living in a house where all the furniture is made of memories.
September 19, 2025 at 12:17 AM
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
RcppEnsmallen 0.2.22.1.2 on CRAN: Upstream Armadillo Changes

blog.thecoatlessprofessor.com/software-rel...

#rstats #rcpp #rcppensmallen #ensmallen
RcppEnsmallen v0.2.22.1.2 Released - Upstream Armadillo Changes – TheCoatlessProfessor
blog.thecoatlessprofessor.com
September 11, 2025 at 3:55 AM
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
JJ Allaire & Charles Teague (of Posit fame) launched Meridian Labs, a nonprofit dedicated to frontier AI research and evaluation tools.

Early focus: LLM evals + visualization & SWE Agent tooling for Inspect AI.

meridianlabs.ai | github.com/meridianlabs-ai

#AI #Research
Meridian Research Labs
meridianlabs.ai
September 6, 2025 at 5:15 PM
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
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
{multideploy} is now on CRAN! 🎉

This #rstats 📦 streamlines file deployments across multiple #GitHub repositories. Update CI workflows, configs, and templates at scale with precision + automated PRs.

Install with: install.packages("multideploy")

CRAN: cran.r-project.org/package=mult...
August 27, 2025 at 5:16 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
Reposted by James Balamuta
We’re working on relicensing everything under MIT
August 23, 2025 at 11:16 PM
TIL: The web framework licensing game is mostly MIT/Apache… except Shiny for #rstats went rogue with GPL-2 😅

Shiny for #Python: MIT ✅
Gradio: MIT ✅
Streamlit: Apache 2.0 ✅
Dash: Apache 2.0 ✅
#rshiny: GPL-2 🤷‍♂️

Anyone know the backstory here?
August 23, 2025 at 7:48 PM
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
Discovered Soap&Skin's 'Me And The Devil' and honestly sounds like my skincare routine took a VERY dark turn 🧴😈

www.youtube.com/watch?v=ZfWS...
Me and the Devil
YouTube video by Soap&Skin - Topic
www.youtube.com
August 22, 2025 at 1:54 AM
Your main #quarto website repo shouldn't be a storage unit for every plot you've ever made 📦

#git #submodules: Give your figures their own space, keep your repo fast

blog.thecoatlessprofessor.com/programming/...
Stop Bloating Your Quarto Repository with Generated Figure Files – TheCoatlessProfessor
Learn how to use git submodules to store Quarto-generated figures in a separate repository, keeping your main website repository lightweight while maintaining version control over all assets.
blog.thecoatlessprofessor.com
August 21, 2025 at 4:24 AM
Does anyone know of R packages that require license keys for certain features? Curious about packages with mixed open/proprietary functionality. #RStats #SoftwareLicensing
August 18, 2025 at 10:50 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
@harry.vangberg.name's wip/experimental #rstats editor looks promising for data science education - the clean interface with side-by-side code and output makes it easy for students to see immediate results and data structures as they learn R fundamentals. #edtech
Day 3 of building a friendly R editor (and today's workspace)
August 6, 2025 at 5:06 PM