Coursera's R Programming course. Programming Assignment 2: Lexical Scoping