Run R 4 online — statistical computing, browser-hosted.
R is the workhorse of statistical computing and academic data analysis. First-class handling of data frames, huge library of statistical models, ggplot2 for graphics.
ls-judge runs R 4.x inside a Firecracker microVM. Headless — ggplot renders to PDF/PNG files you can inspect.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
n <- as.integer(scan("stdin", integer(), n=1, quiet=TRUE))
cat(n * 2, "\n", sep="")
21
42