home.social

#webr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #webr, aggregated by home.social.

  1. What's the current state of remote parquet-querying tools (duckdb, arrow, maybe polars) and WebR? That is, if I want a WebR/Shinylive app to query a remote parquet file and only transfer the query results? Or is the way to go, say, loading duckdb's WASM build and have a shiny call it via eval_js? Any examples?

    @hrbrmstr @jeroenooms @gws @kirill

    #RStats #WebR #DuckDB

  2. I was very happy that i managed to get to compile htslib for the #webr environment and the duckhts bundle in the #RStats package, but then i see that i incorrectly assumed that the #DuckDB platform was wasm_mvp, it is Linux_i686_musl instead

  3. This IS the droid you're looking for.

    webRoid v1.0.0: a nearly full-featured R environment running natively on your Android phone or tablet.

    Console, editor, plots, packages, 9 themes:no server, no cloud, no Jedi mind tricks. Just R on your device.

    Tested extensively on emulators. Your actual device? The Force is strong, but no promises.

    play.google.com/store/apps/det

    #rstats #webR #Android #WebAssembly

  4. webRios started as "what if #rstats just worked on your iPhone or iPad" and now it has a whole documentation site. Feels like the app grew up a little today.

    webrios.caffeinatedmath.com

    #webr #ios #webassembly

  5. Uh-oh, these might be the droids you're looking for...

    The number one request after every webRios demo was Android support. Early stage, but we have a working R console inside a native Android view.

    #rstats #webr #android

  6. webRios is live. #rstats on your iPhone and iPad.

    I showed native R compilation on #iOS last week. Shipping it is another story (thanks, GPL). This version uses #webR 's #WebAssembly build instead. Different tradeoffs, but this one clears App Review.

    apps.apple.com/us/app/webrios/

  7. {webrarian} walked so {pyrarian} could... also walk? Ported #webr 's 4-panel editor to Pyodide. Already loading pandas and plotting with matplotlib in the browser. The librarians are going multilingual.

    #pyodide #python #wasm

  8. {livelink} walked so {webrarian} could run. Mini browser-based #rstats environments powered by #webR and its 4-panel editor. YAML config, build, preview. Done.

    R package coming soon. #pyodide folks, stay tuned.

  9. Oh joy, #WebR is here to let you run #R #in your #browser, as if #JavaScript wasn't complicated enough already! 🖥️ Let's take a detour into this never-ending list of #modules, because who doesn't love a good module channel message payload proxy queue RMain RObject? 🤯 Thanks WebR, now we can finally plot our bad life choices in real-time! 📉😂
    docs.r-wasm.org/webr/latest/ #plotting #HackerNews #ngated

  10. Woo hoo! The nloptr package is now supported in webR, which means we now have access to the lme4 package for mixed effects modeling! This brings a great deal of statistical modeling power to serverless R workflows. Great work @gws !

  11. Where should you run LLM-generated code to ensure it's both safe and scalable? And why did we move from a cool in-browser WebAssembly approach to boring, yet reliable, cloud computing?

    Our AI chart generator taught us that running R in the browser with WebR, while promising, created practical issues with user experience and our development workflow. Moving the code execution to AWS Lambda proved to be a more robust solution.

    quesma.com/blog-detail/sandbox

    #WASM #WebR #ggplot2 #AI #LLM #AWS #aws_lambda

  12. What is this? An R editor for ants?

    @examplesWebR now goes full-screen because your data viz deserves better than a cramped iframe!

    Click "Full-width" → no more squinting

    Try it: rd.thecoatlessprofessor.com/we

    #rstats #webr

  13. Shoutout to @gws for another webR REPL update:

    1. Shared code now auto-runs when you click links (by adding &a parameter to end of code=)
    2. Choose your view: editor, plot, terminal, or files with ?mode='editor-plot'

    Try it yourself: webr.r-wasm.org/latest/?mode=%

    #rstats #webR

  14. Experimenting with `@examplesWebR` - a new #roxygen2 tag that makes #rstats package examples interactive!

    Instead of static code blocks, users get "View in webR REPL" buttons that open examples in their browser or the embedded webR REPL. No R installation needed!

    Still WIP (🚧 ) since the main challenge is distributing dev packages for #webR (non-CRAN versions).

    Would love input on the best approach! Here or:

    github.com/coatless-rpkg/rocle

  15. {quarto-webr} v0.4.3 "Bumpity Bump" is now available - a maintenance release that bumps to R 4.5.1 by default (via webR 0.5.2).

    github.com/coatless/quarto-webr

    #RStats #Quarto #WebR

  16. I compiled a basic list of packages that aren't readily WASM/WebR/shinylive compatible in a notebook here: github.com/multimeric/WebrMiss.

    #webr #wasm #shinylive #rstats

  17. Have you explored WebAssembly technologies for teaching? I'd love to hear your experiences with these emerging tools for interactive data science education! #quarto #webr #pyodide #rstats #python #teaching #edtech

  18. New maths/art blog post! Partly with the goal of demonstrating how awesome #webR is.

    I describe making carpet patterns like the image attached, with all of the code running in the browser so you can generate random outputs, change parameters etc.

    georgemsavva.github.io/creativ

    Even runs perfectly well on my crappy phone! It's going to be interesting to see how this alters stats education, reporting etc.

    #mathart #rtistry #rstats #generative #creativecoding

  19. I wrote a tool to convert a #SkyVector flight plan into a #GoogleEarth movie tour, to help prep for VFR cross-country flights. Free to use at jhchou.github.io/flight_plan_... Runs fully in the client from GitHub Pages thanks to the magic of #rstats, #webr and #shinylive. #aviation #studentpilot

  20. New on my blog: Adding Multiple choice quiz to #QuartoLive Tutorials

    I was working with #Webr interactive code chunks for tutorials, and I wanted to add a multiple-choice quiz, as we have with the learnr package.

    Here is my "home made" solution: yabellini.netlify.app/blog/202

    If you have a better way, I will be grateful to learn.

    #RStats @rstats

  21. New on my blog: Adding Multiple choice quiz to Tutorials

    I was working with interactive code chunks for tutorials, and I wanted to add a multiple-choice quiz, as we have with the learnr package.

    Here is my "home made" solution: yabellini.netlify.app/blog/202

    If you have a better way, I will be grateful to learn.

    @rstats

  22. New on my blog: Adding Multiple choice quiz to #QuartoLive Tutorials

    I was working with #Webr interactive code chunks for tutorials, and I wanted to add a multiple-choice quiz, as we have with the learnr package.

    Here is my "home made" solution: yabellini.netlify.app/blog/202

    If you have a better way, I will be grateful to learn.

    #RStats @rstats

  23. New on my blog: Adding Multiple choice quiz to #QuartoLive Tutorials

    I was working with #Webr interactive code chunks for tutorials, and I wanted to add a multiple-choice quiz, as we have with the learnr package.

    Here is my "home made" solution: yabellini.netlify.app/blog/202

    If you have a better way, I will be grateful to learn.

    #RStats @rstats

  24. New on my blog: Adding Multiple choice quiz to #QuartoLive Tutorials

    I was working with #Webr interactive code chunks for tutorials, and I wanted to add a multiple-choice quiz, as we have with the learnr package.

    Here is my "home made" solution: yabellini.netlify.app/blog/202

    If you have a better way, I will be grateful to learn.

    #RStats @rstats