This is an R course for the Swiftener R Playground (WebR). Always print. Base R only — no install.packages. Python belongs in Introduction to Python. Base plots belong in Learn R graphics.
Goal
Finish every chapter by running the copy-paste blocks. The last chapter is a rainfall summary you can reuse.
How to take the course
- Keep this tutorial tab and the R Playground side by side.
- Wait until WebR is ready.
- Copy an exercise, paste it as the whole editor, then press Ctrl+Enter (or Cmd+Enter).
- Always
print(...). Do not callinstall.packages.
What this playground can and cannot do
- Can: base R,
print, data.frames, local drafts, a rainfall CSV. - Cannot: CRAN packages, ggplot2 unless already loaded (it is not — stay in base R).
Sample files
rain.csv— mm of rain by Kenya city