Advanced R, Second Edition
- Exclusive ContentScan the cover in the app
- CommunityDiscuss & Share
About this book
Hadley Wickham's guide takes readers beneath the surface of R, showing how the language is built. It suits people who already write R and want a firmer grasp of its internals, as well as developers coming from other languages who want to see what sets R apart.
The book begins with the groundwork: how names relate to the values they point to, the main vector types and how they nest, and the ways subsetting lets you extract pieces from them. From there it covers the finer points of functions and environments, control flow, and the condition system that handles messages, warnings and errors.
Larger sections explore three programming styles. One covers functional programming, which can take the place of many loops. Another compares the S3, S4 and R6 object systems and helps readers choose among them. The last covers metaprogramming with the tidy evaluation toolkit, which lets code be inspected, rewritten and evaluated under control. Practical chapters address debugging in ways that work however the code is run, and finding and eliminating performance bottlenecks.
This second edition adds new foundational chapters on names and values, control flow and conditions, expands the object-oriented material, and reworks metaprogramming around the newer tidy evaluation framework. Code chunks and figures use color.
Reader reviews
No reviews yet. Share your thoughts on this book in the Appilog app.
Book Details
- ISBN
- 9780815384571
- Author
- Hadley Wickham
- Publisher
- Unknown Publisher
- Genres
- Technology & Computing
Media & Extras
This book has 0 videos that play on its cover. Scan the cover with the Appilog app to watch.
Get the app




