R scripts for Coursera courses