George Stagg

122 Followers
30 Following
22 Posts
Mathematician. Software Engineer. I like making things.

Since it was super tough to understand how R's protection mechanism can work with Rust, I wrote a blog post before I get burned out completely🔥 #rstats

Wannabe Rstats-fu - R, Rust, Protect, And Unwinding
https://yutani.rbind.io/post/r-rust-protect-and-unwinding/

Wannabe Rstats-fu - R, Rust, Protect, And Unwinding

It's #TidyTuesday, so time for another weekly data project for #rstats, and this week it's using @weecology's long-term data on mammal abundance:

https://github.com/rfordatascience/tidytuesday/blob/master/data/2023/2023-05-02/readme.md

Since it's our data and I'm really into #WebR right now (inspired by @hrbrmstr) I made it so you can participate right in the browser and learn a bit about #WebR while you're there:

https://tidytuesday.weecology.org/

#WebR + #Quarto + #TidyTuesday #FTW

Read on to find out more about the dataset and #WebR 🧵

tidytuesday/readme.md at master · rfordatascience/tidytuesday

Official repo for the #tidytuesday project. Contribute to rfordatascience/tidytuesday development by creating an account on GitHub.

GitHub
Yay, my #positconf2023 talk proposal was accepted! I'm super excited to get back up there to 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, on Wasm via Shinylive and webR😀 #RStats #wasm

I've been playing around with using #WebR and #Quarto for client-side interactive lesson material and it's amazing! All the R code (including #TidyVerse 📦) is running in the user's browser, so no server setup, resources, or security to worry about.

Demo Website: https://interactive-lessons.weecology.org/
GitHub: https://github.com/ethanwhite/datacarp-interactive

Huge thanks to @hrbrmstr for sharing all of this awesomeness this week(end). Checkout his new blog post on this: https://rud.is/b/2023/03/12/almost-bare-bones-webr-starter-app/

#OER #rstats

Interactive Data Lessons - Experimental interactive version of Data Carpentry for Biologists

Well, there goes my weekend.

#Quarto #WebR #WASM #RStats

We've also released an R kernel for JupyterLite, based on webR. It's still in the early stages of development, but we've set up a demo at https://jupyter.r-wasm.org. JupterLite's Wasm environment provides an exciting new way to create reproducible notebooks directly in the browser!
webR v0.1.0 has just been released! I'm super excited to see what people create by using webR in their own projects😃. The docs are at https://docs.r-wasm.org and I've written an introductory blog post talking more about the kind of things webR can do at https://www.tidyverse.org/blog/2023/03/webr-0-1-0/.
WebR - R in the Browser

If you’re interested in playing with this, there’s a copy at https://www.gwstagg.co.uk/raymarch_engine/choose/ (WASD to move) and the code is at https://github.com/georgestagg/toy_3d but be aware this is just a toy and the engine probably can’t be used for much else.
You can use this category of raymarching 3D engines to build even stranger curved spaces. My toy engine is just locally Euclidean spaces joined together with topological surgery. However, there are some amazing demos at https://3-dimensional.space showing what curved space truly looks like. They have webGL demos of fully hyperbolic and spherically curved spaces, and show how geodesics curve around gaussian bumps in otherwise flat space. Amazing stuff!
3-Dimensional Space