A Data Science Central Community
Download a sample chapter from Hadley Wickham's forthcoming book, before it gets published!
An Essential Reference for Intermediate and Advanced R Programmers
Advanced R presents useful tools and techniques for attacking many types of R programming problems, helping you avoid mistakes and dead ends. With more than ten years of experience programming in R, the author illustrates the elegance, beauty, and flexibility at the heart of R.
The book develops the necessary skills to produce quality code that can be used in a variety of circumstances. You will learn:
This book not only helps current R users become R programmers but also shows existing programmers what’s special about R. Intermediate R programmers can dive deeper into R and learn new strategies for solving diverse problems while programmers from other languages can learn the details of R and understand why R works the way it does.
Introduction. Data Structures. Subsetting. Vocabulary. Style Guide. Functions. OO Field Guide. Environments. Debugging, Condition Handling, and Defensive Programming. Functional Programming. Functionals. Function Operators. Non-Standard Evaluation. Metaprogramming. Domain-Specific Languages. Performance. Optimising Code. Memory. High Performance Functions with Rcpp. R’s C Interface.