Port "intro to R" stuff from Karthik's Canberra repo