R Code for Coursera courses