Hub

R Playground

Statistical computing & ggplot2

Playgrounds

Sandbox

  • Playgrounds

Languages

  • 🐍Python
  • 🗄️SQL
  • 📊R
  • ⚡JavaScript
  • 🔷TypeScript
  • 🐘PostgreSQL
  • 🔶dbt
  • 📊DAX
  • 🖥️Bash / Shell
  • 📗Spreadsheet Formulas
← All languages
📊
livedata scienceRStudio Notebook (full)

R Playground

Run R in the browser via WebR with ggplot2, dplyr, and more — install extra WASM packages with webr::install() for statistics labs and visualization.

In this workspace

What you get when you open RStudio Notebook.

Run All
  • Statistical R stack

    tidyverse-friendly WebR packages and ggplot outputs

  • Multi-cell notebook

    Add, reorder, and run cells independently or all at once

  • Datasets & samples

    Iris, Titanic, and your own CSV/uploads in a Data explorer

  • AI tutor + cheatsheet

    Inline help and click-to-insert snippets beside the notebook

  • Export & share

    Download notebook formats and share a read-only link

Your R playgrounds

🚀

No R playgrounds yet

Opens in the full Jupyter/RStudio notebook workspace with datasets, export, and AI tutor.

Starter template

# R playground — iris.csv loads from the Data panel
# Need an extra package? Run once per session, then library():
# webr::install("car")
# library(car)

library(ggplot2)
library(dplyr)

iris <- read.csv("iris.csv")
print(head(iris))

iris %>%
 group_by(species) %>%
 summarise(avg_sepal = mean(sepal_length), .groups = "drop")

ggplot(iris, aes(x = species, y = sepal_length, fill = species)) +
 geom_boxplot() +
 theme_minimal() +
 labs(title = "Sepal length by species")

What you'll learn

  • ✓Statistics labs
  • ✓ggplot2 visualization
  • ✓Regression analysis
  • ✓t-test / ANOVA
Loading usage…

Runtime requirements

Engine
WebR
Type
wasm
Cold start
~20–40 MB (first load + packages)
Execution
Runs fully in your browser

Packages / WASM

  • webr
  • ggplot2
  • dplyr
  • tidyr
  • readr
  • stringr
  • broom
  • MASS
  • isoband

Limitations

  • Preloaded tidyverse stack; extra packages via webr::install() once per session
  • Only WebR WASM binaries (repo.r-wasm.org) — not all CRAN packages
  • First install per package may take longer while binaries download

Libraries

ggplot2dplyrtidyrreadrstringrbroomMASSisobandwebr (WASM install)base R

Still on the roadmap

  • Progress & challenges

    Micro-challenges per language with XP rewards, similar to catalog tracks.