George Stagg
banner
gws.phd
George Stagg
@gws.phd
Software Engineer @ Posit working on webR & WebAssembly. Maths. Physics. I like making things.
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
Ooooooh this looks super fun!
December 1, 2024 at 5:22 PM
{rayshader} one day! Maybe we could it hook up with webGL/webGPU 🤔
November 6, 2024 at 3:53 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