Skip to content
Datanovia

FREE TOOL · RUNS IN YOUR BROWSER

Online R Console

Run R in your browser. No installation, no signup, and nothing you type is sent to a server.

~8 MB · loads when you click · nothing before

Try one:
Add a package:

What runs here

This is real R, compiled to WebAssembly and running inside your browser tab. Variables persist between commands, so you can build up an analysis step by step, and plots appear inline. Because everything executes locally, your code and your data never reach a server.

It is powered by webR, the R Consortium-supported project that compiles R to WebAssembly. It is the same runtime behind the runnable code on every Datanovia lesson.

Limitations

A browser is not a workstation. Here is what you will run into:

  • Interactive input does not work. readline(), scan(), menu() and browser() need to pause R and wait for you, which a browser session cannot do. Assign values directly instead.
  • install.packages() is handled for you. Type it and we install the package through webR rather than CRAN — but not every CRAN package builds for WebAssembly, so some will fail.
  • Memory is limited compared with desktop R, and large data or heavy models may be slow or fail outright.
  • Files are virtual and temporary. write.csv() and read.csv() work, but everything lives in memory and disappears when you reload the tab — and the console cannot see your disk. To load a CSV, paste it: read.csv(text = "a,b\n1,2"). To analyse a real file of your own, use Prova.

Frequently asked questions

Can I save my R code and results from this console?
Copy the transcript with the Copy button and paste it wherever you keep your work. The console does not save sessions: nothing you type is stored, here or anywhere else.
Is my data secure in this online R console?
Yes. R runs inside your browser tab, not on our servers. Your code and any data you paste never leave your computer, which is a stronger guarantee than any server-side console can offer.
How is this different from regular R?
The language is the same. What differs is the environment: less memory, no file-system access, no interactive input, slower on heavy computation, and only the subset of CRAN packages that build for WebAssembly.
Can I install additional R packages?
Yes. Type install.packages("dplyr") as you normally would and the console installs it from webR's repository. Datanovia's own widely-used packages install too — ggpubr, rstatix, survminer, factoextra, ggcorrplot and datarium — covering most everyday plotting, statistics, survival and multivariate work (heavier ones take a few extra seconds to download). Packages with compiled code that hasn't been ported to WebAssembly will not install.