r stuff for coursera