Working notes for R for Everyone book