George Stagg
@gwstagg
Software Engineer. Mathematician. I like making things.
We've been having fun recently building geographic system libs (GDAL, GEOS, PROJ, ...) for Wasm. We have enough working now that several geospatial analysis and mapping R packages can be built and used in webR! Should be available in the next release 😃 Jupyterlite example:

Sneak preview time! The next version of #webR will have improved performance when loading #wasm #rstats packages, especially once they've been downloaded and cached by the browser. Here's an example showing ggplot2 loading from cache in about 1.5 seconds.
webR 0.2.0 has been released! 🎉 This release gathers many updates over the last few months, including improved graphics, new R packages, accessibility, internationalisation, and the webR REPL app. I've written a blog post with details at tidyverse.org/blog/2023/08/w… #webR #RStats
Episode 132 of #rstats @rweekly_org Highlights is out! podverse.fm/episode/EO0Wl1… 📺 Automated dashboard of @RLadiesGlobal YouTube feeds @ivelasq3 🚀 Serverless Shiny apps guide (Veerle van Leemput) ❄️ Polar data library cookbook @Damien_Dotta h/t @mike_ketchbrook @jonmcalder
Nothing beats drafting a blog post as a way to find bugs in your release candidate. Ah well, in any case path drawing with winding rules now works properly in webR's HTML canvas graphics device #webr #rstats

Today on “things I didn’t expect to be nearly as fun as they turn out to be”: Intentionally breaking the text transformation matrix in a PDF renderer 🙃

Today I'm updating the plotting docs for webR and it's so nice seeing the recent changes to its HTML canvas graphics device paying off. Letting the web browser handle text rendering is so nice. As far as I can tell everything just does what it's supposed to! #webr #rstats

I really like making demos for #webR, but so far they have all been quite technical. I thought I'd try something different today and have a go at some #rstats generative #rtistry. So, here is an interactive webR demo that draws pretty Clifford attractors😀 webr-clifford-attractor.netlify.app

Been playing with webR for a couple of hours and woaw... that's amazing. So many things we'll be able to do.
webr (r-wasm) is so powerful! The r-universe node stack now provides data export links, which use webr to convert pkg datasets on-the-fly to json (via jsonlite) xlsx (via writexl), csv (via data.table), etc. Try it yourself eg: tidyverse.r-universe.dev/ggplot2 #rstats
Yay, my #positconf2023 talk proposal was accepted! I'm super excited to get back up there and talk about how webR's JavaScript library works, and show off some of the things it can do that I believe feels like absolute magic🪄💫 pos.it/conf

For those R fans waiting patiently for a version of shinylive.io for R, here is a little sneak preview of the progress we've made recently. This is a screen capture showing an editable R Shiny app, running without a Shiny server, via Shinylive and webR😀 #RStats #wasm
Shiny for Python has moved out of the alpha phase, to general availability! shiny.rstudio.com/blog/shiny-pyt…
Ever want to add code interactivity to your #quarto or #rmarkdown lecture notes or guides for #rstats? Check out {webr} by @gwstagg and @_lionelhenry for editable and runnable R code. Demo: rd.thecoatlessprofessor.com/webR-quarto-de… Source in 🧵