Hands-On Programming with R - Code from the book