Yesterday was a good day. I taught a session of Intro to R and did a workshop that I'm calling "Better Plots" for the Data Science Lab at Fred Hutch. It mixes perceptual psychology with R and Python to present ways of telling your data story clearly. It leverages #WebAssembly to give you runnable examples in #Rstats / #Python in your browser. #DataScience #wasm #quartolive
Thanks everyone for coming, and special thanks to our TAs: Chris Lo and Kate Isaac!
Check it out here!: https://hutchdatascience.org/better_plots/
@roaldarboel I wonder if [quarto-live](https://github.com/r-wasm/quarto-live) meet your requirements?
It uses WebAssembly to embed interactive code-blocks into Quarto documents.
Probably not on reading the linked article but its a neat thing to know about anyway!
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: https://yabellini.netlify.app/blog/2024-09-29-quarto_live_quiz/
If you have a better way, I will be grateful to learn.
#Rstats tip of the day:
I'm working on a series of #QuartoLive Tutorials (transforming learnr tutorials).
To use packages in the tutorial you add these labels on your YAML and list the packages:
webr:
packages:
- ggplot2
- gapminder
- dplyr
Where can you find WebAssembly versions of your favorite R packages?
In @rOpenSci R-Universe!
For example, if I need @Drmowinckels awesome ggseg my YAML looks like this:
webr:
packages:
- ggseg
repos:
- https://ggseg.r-universe.dev
Starting to translate some #RStats learnr tutorials I have to #QuartoLive and I fund this mention to the @rOpenSci 's #RUniverse in the documentation π€© π
https://r-wasm.github.io/quarto-live/getting_started/packages.html