100,000+ Books, Games & Puzzles in-stock 🇳🇿

🏆Don't forget Father's Day this Sunday! Auckland Bookstore open 8:30am-5:00pm Sat & Sun 🎉

Advanced R, Second Edition

4.56 goodreads logo

Ratings/reviews counts are updated frequently.

Check link for latest rating.
( 316 ratings, 16 reviews)
Book Hero Magic crafted this summary to help describe this book. While it's new and still learning, it may not be perfect - your feedback is welcome! Summary
Advanced R, Second Edition delves into the inner workings of the R programming language, offering a deep and fundamental understanding for experienced R users and programmers from other languages. It covers foundational concepts such as the distinction between objects and their names, vector data structures, functions, environments, and the condition system that manages messages, warnings, and errors. The book explores the three main programming paradigms in R—functional, object-oriented (including S3, S4, and R6 systems), and metaprogramming—with detailed guidance on debugging and optimising code. Extensive updates include new chapters on control flow and conditions, enhanced metaprogramming content with the tidy evaluation framework, and use of modern R packages like rlang and purrr. Author Hadley Wickham is a leading R expert and contributor to the tidyverse ecosystem.
Read More
Format: Hardback
TEMPORARILY OUT OF STOCK Please add to wishlist to be notified when back in stock

Sorry, we're currently out of stock of Advanced R, Second Edition. Please add to your Wishlist and we'll send you an email as soon as it's back in stock.

Book Hero Magic created this recommendation. While it's new and still learning, it may not be perfect - your feedback is welcome! IS THIS YOUR NEXT READ?

This book is ideal for experienced R programmers aiming to deepen their language mastery, as well as developers familiar with other languages who seek to understand R's unique features and programming paradigms. It suits those interested in advancing their skills in debugging, performance optimisation, and metaprogramming within R.

Book Hero thinking about your next read

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.

Book Hero Magic formatted this description to make it easier to read. While it's new and still learning, it may not be perfect - your feedback is welcome! Description

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 packages like rlang, which provides a clean interface to low-level operations, and purrr for functional programming
  • Use of colour 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

INFORMATION

ISBN: 9780367255374

Publisher: Taylor & Francis Ltd

Format: Hardback

Date Published: 03 June 2019

Country: United Kingdom

Imprint: Chapman & Hall/CRC

Edition: 2nd edition

Audience: Professional and scholarly

DIMENSIONS

Width: 156.0mm

Height: 234.0mm

Weight: 1300g

Pages: 588

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 from Computing & Technology

View all
  • Digital Minimalism
    Digital Minimalism by Cal Newport presents a revolutionary strategy for optimising your interaction with digital technology in a way that fosters productivity, focus, happiness, and creativity. Most of us recognise that our reliance on texting, Instagram, Facebook, and Twitter is not due to sheer lack of intelligence or depth, but because these platforms truly offer significant value in the form...
    Paperback
    $2400
    Elsewhere:
    $2600
    In Stock
    Ships today
  • Minecraft Annual 2027
    Pre-order
    New Release
    Minecraft Annual 2027
    The official Minecraft Annual 2027, full of updates, builds, activities, and more! Discover all there is to know about the past year of Minecraft in this exciting annual. Stuffed to the brim with updates, activities, step-by-step builds, and tips and tricks for the game, this book is a must-have for any minecrafter. This year’s annual includes: Mob guides on happy...
    Hardback
    $1999
    Elsewhere:
    $2499
    In Stock
    Ships today
  • Empire of AI
    An eye-opening account of the tech arms race shaping our planet, from an award-winning journalist and AI insider to the world of Sam Altman and OpenAI. When longtime AI expert and journalist Karen Hao first began covering OpenAI in 2019, she thought they were the good guys. Founded as a nonprofit with safety enshrined as its core mission, it was...
    Paperback
    $2899
    Elsewhere:
    $3700
    (1)
    In Stock
    Ships today
  • kluge
    New Release
    kluge
    If you and I are in the same ='entertainment venue' for this ='stand-up comedy special' and I am ='my body' and you are ='my audience' I run to you and shout your name into the dark, in the hope you are there. Yes, you='dear reader'='attentive listener'. This is a story about the end days of a tech company and its...
    Paperback
    $3299
    Elsewhere:
    $3800
    (1)
    In Stock
    Ships today
  • On Sale
    17% off
    Open to Work
    ‘Open To Work helps you stop fearing the future and start shaping it with purpose.’ Jay Shetty‘An instantly useful guide to futureproofing your career.’ Adam Grant‘Open to Work lays out a smart and clear path to the future of work’ Brené Brown In a world where AI is transforming work at a rapid pace, Open to Work is your essential...
    Paperback
    $2500
    Elsewhere:
    $3799
    In Stock
    Ships today
  • Careless People
    Shocking and darkly funny, Careless People gives you a front-row seat to the decisions that are shaping our world and the people who make them. Welcome to Facebook. Sarah Wynn-Williams, a young diplomat from New Zealand, pitched for her dream job. She saw Facebook's potential and knew it could change the world for the better. But, when she got there...
    Paperback
    $2800
    In Stock
    Ships today
  • If Anyone Builds It, Everyone Dies
    The founder of the field of AI risk explains why superintelligent AI is a global suicide bomb and we must halt development immediately. AI is the greatest threat to our existence that we have ever faced. The technology may be complex but the facts are simple. We are currently on a path to build superintelligent AI. When we do, it...
    Paperback
    $3200
    Elsewhere:
    $4000
    In Stock
    Ships today
  • New Release
    The Reverse Centaur's Guide to Life After AI
    Whether you want to criticise, kill, or use AI, you have to get through the hype and uncover the real story. Start with labour: in automation theory, a centaur is a person who chooses to use technology to help them do the things that matter to them. A reverse centaur is a person who has been conscripted to serve as...
    Paperback
    $3499
    In Stock
    Ships today
  • Book cover for 'Apple: The First 50 Years' by David Pogue, featuring a minimalist white background with black text and a stylized white iPod touch graphic in the center.
    On Sale
    20% off
    Apple
    On April 1, 1976, two scruffy twentysomethings, both named Steve, founded a startup. Their goal: To bring the revolutionary power of computers to everyone. Over the next five decades, Apple reshaped the technology and cultural landscapes, introducing the public to breakthroughs like the mouse, laser printing, CD-ROM, WiFi, digital video, home networking, touchscreen phones, and tablets. Jobs’s obsessive eye for...
    Hardback
    $6400
    Elsewhere:
    $9000
    In Stock
    Ships today
  • How to Win At Chess
    Learn chess from International Master and YouTube's top chess teacher Levy Rozman (aka GothamChess) in this refreshing and fun guide for beginner and intermediate players. How to Win at Chess teaches you everything you need to know about the game, including all the important moves and strategies to start off strong and keep you thinking several steps ahead. Full of...
    Hardback
    $4000
    Elsewhere:
    $5000
    Backorder
    Ships mid September
  • Tech Bros
    New Release
    Tech Bros
    The extraordinary story of Atlassian - how two university friends with a billion-dollar idea created a global tech company. In a cramped share house in inner-city Sydney, university classmates Mike Cannon-Brookes and Scott Farquhar started working together to create a $160 billion company from scratch and revolutionise the way the world works. They couldn't have been more different - Cannon-Brookes...
    Paperback
    $3199
    Elsewhere:
    $3999
    In Stock
    Ships today
  • The Nerd Reich
    Who really rules our future? When Silicon Valley says it is ‘moving fast and breaking things’, the world interprets the chaos as a necessary cost of innovation. Gil Durán reveals something far more sinister: a decades-long campaign to replace elected governments with corporate rule. Drawing on insider political experience and new investigations, Durán traces this ideology from its philosophical roots...
    Paperback
    $3299
    Elsewhere:
    $4199
    Available
    Ships in 4-6 weeks

Why buy from us?

Book Hero is not a chain store or big box retailer. We're an independent 100% NZ-owned business on a mission to help more Kiwis rediscover a love of books and reading!

Service & Delivery

Service & Delivery

Our warehouse in Auckland holds over 100,000 books, toys, board games and puzzles in-stock so you're not waiting for your order to arrive from overseas.

Auckland Bookstore

Auckland Bookstore

We're primarily an online store, but for your convenience you can pick up your order for free from our bookstore, which is right next door to our warehouse in Hobsonville.

Our Gifting Service

Our Gifting Service

Books make wonderful thoughtful gifts and we're here to help with gift-wrapping and cards. We can even send your gift directly to your loved one.