R Playground

A free online R playground: write and run any R code in your browser, no install or sign-up. Powered by webR. Your sandbox for experimenting with R.

Your sandbox. Type any R code below and press Run Code β€” it runs entirely in your browser, nothing is uploaded. The first run loads R (a few seconds).

Need a fresh cell? Use this second console for anything else:

NoteWhat can it do?

This is real R β€” base functions, built-in datasets (mtcars, iris, …), plotting, and many packages. Some large packages aren’t available in the browser build, but everything in these tutorials works.


Want structured lessons? Start with R basics. Want R-accurate calculators without writing code? See the free tools.