Instruction materials, data and source code for the R workshop at the 2014 RPM seminar