Saturday, August 9, 2014
Review: Hands-On Programming with R, by Garrett Grolemund, O'Reilly Media
By working through 3 projects (ex: slot machine simulation) over several chapters, Garrett Grolemund introduces good programming practices and some important R foundational concepts (ex: functions, scoping, S3). The book is appropriate for people new to programming or R users who are comfortable running R commands but not familiar with writing functions. Code challenges and examples are clearly explained and the corresponding R output is shown.
The book intentionally does not cover graphics and modeling. Other books exist for graphics that are very good, so Grolemund sees no need to cover the same ground. Regarding modeling, a companion book, Data Science with R, is forthcoming.
Overall, I think the book is a very good starting point for anyone new to R or new to programming. It covers the basics well and is a confidence builder.