Dataslope logoDataslope · Learn

R

Run R in the browser via WebR. Data frames render as tables, plots render as inline images.

R runs through WebR 4.5 — a full WebAssembly build of R that loads on demand the first time you click Run.

Vectors and summary statistics

RBlock-1a32R 4.5.1

Data frames render as tables

When the last expression of a block evaluates to a data.frame, the runtime renders it as an HTML table — the same UX as in the R Playground.

The initialization code below seeds a small dataset; the editable snippet just inspects it.

RBlock-83cfR 4.5.1

Plots render as inline images

Base R graphics and ggplot output are captured into PNG cells.

RBlock-b1f9R 4.5.1

On this page