R · No sign-in needed
Explore base R in a browser playground.
Try vectors, calculations and base R plots without installing a desktop environment. Add program input and inspect what your small example produces.
Code runs in your browser. Guided course help requires sign-in.
Think in vectors
Base R lets you apply a calculation across a vector. Start with a few values so you can check the result yourself. source() can load your other local R files, and base plots appear in the playground’s Plots tab.
A few details to check
When a result surprises you, inspect one small part of the program before rewriting everything.
- R indexes start at 1.
- A vector’s type affects how its values are handled.
- Additional package installation is unavailable in this workspace.
What this runtime supports
Base R runs in your browser; source() can load your other .R files. Use readline() or scan() for program input. Base plots appear in the Plots tab. Additional packages and package installation are not available.
From an experiment to guided coursework
The public playground runs code without an account. Sign in to work in a personal course or a teacher-led class, where the tutor can use your code and run output when you ask a question. In a teacher-led class, your teacher can read the conversation and review saved code. Personal study is not shared with a teacher.
Questions you might have
Do I need to sign in to run R?
No. The public coding playground is free to try without signing in. Drafts stay in this browser. Guided course help and saved account work require sign-in.
Can I run any project here?
No. The playground is designed for learning experiments within its browser runtime. Review the supported features above, and keep examples small enough to inspect.
Choose a language. Try a small idea.
Project files, program input and output in your browser.