George Stagg
banner
gws.phd
George Stagg
@gws.phd
Software Engineer @ Posit working on webR & WebAssembly. Maths. Physics. I like making things.
Reposted by George Stagg
Super excited for the new release of #rstats V8 which now also works in WebR by running js/wasm natively in web worker (thanks to @gws.phd). Will release some cool new packages soon to show the potential of WASM in R ✨
September 27, 2025 at 8:40 AM
PSA for anyone beginning to use #wasm #webR to share R code snippets: We have a new short URL for the webR app: webr.sh!
webR - R in the browser
Interactive R environment running in your browser. Execute R code, create plots, and analyze data without installing anything.
webr.sh
August 14, 2025 at 11:42 AM
That’s correct, unfortunately. It’s a fundamental limitation of running the Shiny server under Wasm in the user’s browser. Everything is visible in the browser dev tools.
August 7, 2025 at 2:09 PM
The webR changes haven’t filtered down into Shinylive yet. Once we cut a new release, and Shinylive is updated, we’re hoping curl and friends should work well!
August 7, 2025 at 11:50 AM
Even ellmer works! Here using a provider that does not require auth: webr.r-wasm.org/latest/#code...

Of course, the usual rules about API keys in webR still apply: *ALL* R source is visible client-side, so *NEVER* publish anything that actually includes any secret keys. This is just a neat demo!
July 30, 2025 at 3:29 PM
You can read more about how this all works in Jeroen's blog post: jeroen.github.io/notes/webass...
Making libcurl work in webassembly
We explain how to make libcurl based applications work in webassembly without changes by tunneling all traffic over a websocket proxy.
jeroen.github.io
July 30, 2025 at 3:29 PM
Here's an example using an R package that relies on {httr2} to query a Hacker News API: webr.r-wasm.org/latest/#code...
July 30, 2025 at 3:29 PM
Thanks to some joint work with @jeroenooms.bsky.social the latest dev build of webR now supports the {curl} package, along with many other packages that rely on it! 🎉 If you're able to use a WebSocket SOCKS proxy (outside of the browser), you can now use {curl} to make HTTP requests in webR.
July 30, 2025 at 3:29 PM
Reposted by George Stagg
We're happy to announce that there will be another #rstats Tidy Development Day after the 2025 posit::conf in Atlanta!

www.tidyverse.org/blog/2025/07...
Tidyverse developer day 2025
Join us in Atlanta for tidyverse developer day on September 19, 2025!
www.tidyverse.org
July 21, 2025 at 1:02 PM
webR 0.5.4 has been released! Some new updates include sharing URLs for the webR app, filesystem support for JupyterLite 0.6, and an upgrade to the Emscripten runtime. Read all about it in my latest post on the tidyverse blog: www.tidyverse.org/blog/2025/07...
webR 0.5.4
webR 0.5.4 brings the latest version of R to the browser, with sharing URLs, an upgraded Emscripten runtime, and filesystem support for JupyterLite.
www.tidyverse.org
July 14, 2025 at 12:08 PM
Reposted by George Stagg
🚀Quarto Live developer @gws.phd shows how to make interactive, explorable, & reproducible docs. #Python & R in the browser—no setup, no servers!

✅ Live coding exercises & auto-checking
✅ Works on mobile!

📺 Watch now → buff.ly/41BnAsT
#Quarto #DataScience #WebAssembly
Quarto Live: WebAssembly powered data science learning | pyOpenSci
🚀 How Quarto Live Brings Code to Life in the Browser! 🌍✨Quarto Live takes interactive coding & publishing to the next level with WebAssembly-powered execut...
buff.ly
March 4, 2025 at 5:20 PM
Reposted by George Stagg
As far as I’m concerned, #webr and #shinylive is indistinguishable from magic.

I can’t believe that since first installing #quarto-webr a few hours ago till now, I’ve gotten a relatively complicated #shinyapp exported, deployed, and running serverless.

This is magic. #rstats
December 21, 2024 at 6:41 PM
Reposted by George Stagg
I have now also ported the color vision deficiency simulation app to Shiny live. Advantage is this runs entirely in your browser, even though you "upload" the image it never leaves your computer.
January 10, 2025 at 5:15 AM
Recently I've been working on getting #polars running in #pyodide. This was a fun one, even requiring patches to LLVM's #wasm writer! Everything has now been upstreamed and earlier this week Pyodide v0.27.0 released, including a Wasm build of Polars usable in Pyodide, Shinylive and Quarto Live 🎉
January 4, 2025 at 11:59 AM
Ooooooh this looks super fun!
December 1, 2024 at 5:22 PM
Reposted by George Stagg
📦 usethis 3.1.0 📦 is released. `use_vignette()` and `use_article()` can now help you initiate a Quarto (.qmd) vignette or article. #rstats

usethis.r-lib.org/news/index.h...
Changelog
usethis.r-lib.org
November 26, 2024 at 3:55 PM
Reposted by George Stagg
#RStats I'm so happy to finally share what we've been experimenting on at ThinkR for the past couple of weeks — A native mobile app that can run R code through #webR

Read more at 👉 rtask.thinkr.fr/youve-been-w...
November 19, 2024 at 12:44 PM
Reposted by George Stagg
Slides on how R-universe uses @cloudflare.social to get fast global routing and caching: jeroen.github.io/technotes2024
November 19, 2024 at 12:57 PM
Reposted by George Stagg
We’ve been working hard on next quarto version and it is coming out soon. It is already available so if you are ok to try it please do ! Feedback welcome to find the remaining bugs that could still be hidden. Thanks !
November 17, 2024 at 8:21 AM
Reposted by George Stagg
I made a starter pack with #Shiny for #RStats and #Python devs and friends! And if you're a Shiny person and want to be included, let me know.
go.bsky.app/BFEQ1HY
November 8, 2024 at 7:33 PM
{rayshader} one day! Maybe we could it hook up with webGL/webGPU 🤔
November 6, 2024 at 3:53 PM
I've written a series of blog posts about what I've been up to over the last few months! 📝

In the posts I talk about webR, R Shinylive, and a new Quarto extension for interactive code exercises.

Take a look if you're interested in the latest for R for WebAssembly.
www.tidyverse.org/blog/2024/10...
WebAssembly roundup part 1: webR 0.4.2 - Tidyverse
First in a series of blog posts about what's new in R for WebAssembly. The latest release of webR 0.4.2 is now available, with updates to the viewer mechanism, support for displaying htmlwidgets, an I...
www.tidyverse.org
November 6, 2024 at 3:12 PM
Reposted by George Stagg
No trick, all treats - posit::conf(2024) talks are now on YouTube! 🍬

Over a thousand people gathered in Seattle and online to dive into all things open-source data science. With 100+ talks, there's a lot to explore!

Check out the playlist: www.youtube.com/playlist?lis...

#RStats #Python
October 31, 2024 at 2:00 PM
Reposted by George Stagg
R in Production, r-in-production.org, is a new book that will help you put R into production, coupled with (in the near future) new tools to make the process less painful. I'm working on this with @thomasp85.com , @gaborcsardi.bsky.social, and @hfrick.bsky.social.
R in Production
r-in-production.org
October 29, 2024 at 10:15 PM