tryR course notes - ch 1