#WebR

James Balamutacoatless
2025-07-13

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

James Balamutacoatless
2025-07-09

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=%

Screenshot of webR REPL application running in a web browser. The interface is split into two panels: on the left is a code editor containing the R command 'plot(1:10)', and on the right is the resulting scatter plot visualization showing 10 points plotted from coordinates (1,1) to (10,10). The plot has 'Index' labeled on the x-axis and values from 0 to 10 on the y-axis. The browser interface shows typical web app controls including Run, Save, and Share buttons at the top
James Balamutacoatless
2025-07-08

Experimenting with `@examplesWebR` - a new tag that makes 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 (non-CRAN versions).

Would love input on the best approach! Here or:

github.com/coatless-rpkg/rocle

RStudio interface demonstrating WebR REPL link inclusion functionality. The left pane shows R source code with roxygen2 documentation for "Test WebR REPL Link Inclusion." The right pane displays package documentation with a blue "View in webR REPL" button. A firefox browser window is open showing the WebR REPL interface with simple R code (1 + 1) and R session information including details about contributors, demos, and help functions. The interface shows the same rocletter package documentation as the first image.RStudio interface showing R package documentation with embedded WebR REPL functionality. The left pane contains R source code with roxygen2 comments, including a @examplesWebR tag and demo functions. The right pane displays package documentation for "Test WebR REPL Embedded Inclusion" with an embedded WebR REPL interface showing a ggplot2 example. The WebR interface contains code (library(ggplot2), ggplot(mtcars, aes(mpg, wt)) + geom_point() + theme_minimal()) and displays a scatter plot visualization. The bottom shows an R console with package loading messages in red text.
James Balamutacoatless
2025-06-24

{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

2025-04-23

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

2025-04-12

Any :rstats: #webr folks knowledgable about the build process?

Struggling with `rwasm::build()` for local packages. Trying to get the extendr :rust_ferris: build process for webR sorted!

github.com/r-wasm/rwasm/issues

#rstats

James Balamutacoatless
2025-03-01

Have you explored WebAssembly technologies for teaching? I'd love to hear your experiences with these emerging tools for interactive data science education!

2024-12-30

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

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

Creating a flight plan in SkyVector. Export as a .FPL fileLoading the SkyVector .FPL plan, set some camera values, and export as a Google Earth .KML tourOpening the .KML file in Google Earth and playing it as a movie. The camera angles always point directly at the next waypoint, to help orient you for what to expect to see during the flight.Real life view from the Cessna 172 during my first ever solo cross-country. This is the Cape Cod canal on my way back to KOWD from KHYA, similar to the Google Earth screenshot view.
2024-12-23

Almost 1500 downloads in 5 days 😱

Have you tried it yet?

#RStats #webr #Rlinguo

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

2024-12-18

#RStats

I'm so, so thrilled to finally share the release of Rlinguo, a mobile app that runs R πŸ“±

This is a fully, native mobile app that uses #webR in the backend to run R functions.

Available on the App Store (iPhone) & Play Store (Android)

rtask.thinkr.fr/introducing-rl

2024-11-19

#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-wai

2024-11-05

Who's teaching #rstats with #webr and would like to share? New to the show and looking forward to learn how to teach with it.
Our #webr stuff is in German but if anyone is interested: just ask.

James Balamutacoatless
2024-10-29

πŸŽ“ Excited to speak at @pyOpenSci's Fall Festival! Join me for insights on the future of education using tools like & with .

πŸ“… Nov 1st, Workshop: "Reproducible reports and presentations"

Perfect for educators & practitioners!

πŸ“š Get a head start!
πŸ’‘ Presentation preview: tutorials.thecoatlessprofessor

πŸ™ Code:
github.com/coatless-tutorials/

Screenshot of the next generation of data science education website talk.
@yabellini@fosstodon has movedyabellini@fosstodon.org
2024-09-30

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

James Balamutacoatless
2024-09-20

Routine morning turned thrilling! A PR landed, piquing my interest. Then I clicked the demo and BAM! Mind officially blown. Picture this: intricate brain processes, live in your browser, powered by R and webR. The future is now! πŸ§ πŸ’»

rave.wiki/posts/3dviewer/viewe

Giorgio Comaigiocomai
2024-09-11

I've decided trying out to try out the magic on a shiny app using the `sf` package. However, `sf` doesn't seem to work, and leads to error messages, both using the cran and the version. Things get stuck when exporting the app, with either an "access denied" here: repo.r-wasm.org/bin/emscripten or with an "unexpected end ot data" here if I use rspatial r-spatial.r-universe.dev/bin/e

I must be missing something obvious... hints for troubleshooting?

Jesus Castagnetto πŸ‡΅πŸ‡ͺjmcastagnetto
2024-09-09

Interesting presentation on : youtube.com/watch?v=wK3vPbcSoFE

One point that was made at the beginning is about that "reproducibility" might not be well defined. I think that it will be good to read the 2019 NASEM report: "Reproducibility and Replicability in " nap.nationalacademies.org/cata -- Reproducibiliy and are clearly defined and delimited.

@Posit

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst