This is a 21-page course for the Swiftener R Playground. Open this tab, wait until WebR is ready, paste each exercise, press Ctrl+Enter (or Cmd+Enter). Base R only. Plots appear in the Plot pane.
Goal
Finish every chapter by running the copy-paste blocks in the workbench. The last chapter is a small kiosk story you can reuse.
How to take the course
- Keep this tutorial tab and the R Playground side by side.
- Copy an exercise, paste it as the whole editor, then run it.
- Always
printa short confirmation. Figures appear in the Plot pane. Base R only — noinstall.packages, no ggplot2.
City names in the examples are Nairobi, Mombasa, Kisumu, Nakuru, and Eldoret.
Sample files
kiosk.csv