The co-op bookstore for avid readers
Book Cover for: Advanced R, Second Edition, Hadley Wickham

Advanced R, Second Edition

Hadley Wickham

Advanced R helps you understand how R works at a fundamental level. It is designed for R programmers who want to deepen their understanding of the language, and programmers experienced in other languages who want to understand what makes R different and special.

This book will teach you the foundations of R; three fundamental programming paradigms (functional, object-oriented, and metaprogramming); and powerful techniques for debugging and optimising
your code.

By reading this book, you will learn:

  • The difference between an object and its name, and why the distinction is important
  • The important vector data structures, how they fit together, and how you can pull them apart using subsetting
  • The fine details of functions and environments
  • The condition system, which powers messages, warnings, and errors
  • The powerful functional programming paradigm, which can replace many for loops
  • The three most important OO systems: S3, S4, and R6
  • The tidy eval toolkit for metaprogramming, which allows you to manipulate code and control evaluation
  • Effective debugging techniques that you can deploy, regardless of how your code is run
  • How to find and remove performance bottlenecks

The second edition is a comprehensive update:

  • New foundational chapters: "Names and values," "Control flow," and "Conditions"
  • comprehensive coverage of object oriented programming with chapters on S3, S4, R6, and how to choose between them
  • Much deeper coverage of metaprogramming, including the new tidy evaluation framework
  • use of new package like rlang (http: //rlang.r-lib.org), which provides a clean interface to low-level operations, and purr (http: //purrr.tidyverse.org/) for functional programming
  • Use of color in code chunks and figures

    Hadley Wickham is Chief Scientist at RStudio, an Adjunct Professor at Stanford University and the University of Auckland, and a member of the R Foundation. He is the lead developer of the tidyverse, a collection of R packages, including ggplot2 and dplyr, designed to support data science. He is also the author of R for Data Science (with Garrett Grolemund), R Packages, and ggplot2: Elegant Graphics for Data Analysis.

Book Details

  • Publisher: CRC Press
  • Publish Date: May 30th, 2019
  • Pages: 588
  • Language: English
  • Edition: undefined - 0002
  • Dimensions: 9.20in - 6.10in - 1.20in - 2.05lb
  • EAN: 9780815384571
  • Categories: Probability & Statistics - GeneralGeneralLanguages - General

More books to explore

Book Cover for: Counting: How We Use Numbers to Decide What Matters, Deborah Stone
Book Cover for: On the Edge: The Art of Risking Everything, Nate Silver
Book Cover for: The Signal and the Noise: Why So Many Predictions Fail--But Some Don't, Nate Silver
Book Cover for: The Drunkard's Walk: How Randomness Rules Our Lives, Leonard Mlodinow
Book Cover for: Naked Statistics: Stripping the Dread from the Data, Charles Wheelan
Book Cover for: How to Expect the Unexpected: The Science of Making Predictions--And the Art of Knowing When Not to, Kit Yates
Book Cover for: Spatio-Temporal Data, Noel Cressie

About the Author

Hadley Wickham is Chief Scientist at RStudio, an Adjunct Professor at Stanford University and the University of Auckland, and a member of the R Foundation. He is the lead developer of the tidyverse, a collection of R packages, including ggplot2 and dplyr, designed to support data science. He is also the author of R for Data Science (with Garrett Grolemund), R Packages, and ggplot2: elegant graphics for data analysis.

More books by Hadley Wickham

Book Cover for: R for Data Science: Import, Tidy, Transform, Visualize, and Model Data, Hadley Wickham
Book Cover for: R Packages: Organize, Test, Document, and Share Your Code, Hadley Wickham
Book Cover for: Mastering Shiny: Build Interactive Apps, Reports, and Dashboards Powered by R, Hadley Wickham
Book Cover for: Advanced R Solutions, Malte Grosser
Book Cover for: ggplot2: Elegant Graphics for Data Analysis, Hadley Wickham

Praise for this book

"The development of progressive data analysis tools that are technically excellent creates a superior opportunity for us as data science users. The concepts of this book can enhance the overall user experience and increase the likelihood that the developed tools become preferred tools accomplishing the desired purpose. Learning from Wickham's vast experience in R coding improves tools that provide targeted users the ability to be more efficient, clearer R analysis code writers, better debuggers of their own syntax errors, and positioned to enjoy faster performance time. These are many of the advantages I have enjoyed using tidyverse developed by Wickham with the "Advanced R" philosophy." Technometrics

"The book is packed with a ton of information, insights, and knowledge drawn from the author's own experience. The approach will be appreciated by the right audience - the audience that is looking for a deeper understanding of the R language. At times, the writing style reveals a personal reflection of how the author's knowledge of the language has evolved. This is beautiful."
ISCB News