Code repository
In my Github repository you can find the R source code of all of the examples presented in this book:
github.com/michalbrys/R-Google-Analytics
Feel free to commit if you find some issue in the code or if you want to share your examples.