Use R to turn data into insight, knowledge, and understanding. With this practical book, aspiring data scientists will learn how to do data science with R and RStudio, along with the tidyverseâ??a collection of R packages designed to work together to make data science fast, fluent, and fun. Even if you have no programming experience, this updated edition will have you doing data science quickly.
You’ll learn how to import, transform, and visualize your data and communicate the results. And you’ll get a complete, big-picture understanding of the data science cycle and the basic tools you need to manage the details. Updated for the latest tidyverse features and best practices, new chapters show you how to get data from spreadsheets, databases, and websites. Exercises help you practice what you’ve learned along the way.
You’ll understand how to:
- Visualize: Create plots for data exploration and communication of results
- Transform: Discover variable types and the tools to work with them
- Import: Get data into R and in a form convenient for analysis
- Program: Learn R tools for solving data problems with greater clarity and ease
- Communicate: Integrate prose, code, and results with Quarto



Xuerun Li –
Very excited to have the hard copy of this book. Already went through most of the content within 2 days. It is the best place to have the overview of the functions and knowledge for data science. I also advanced my knowledge how to process data and presentations. Learned quite some new skills from this 2nd version even I was using R for 4 years following the 1st edition of this book.For the technical content of the book, I rate 5 stars.The printing of the book is not the best, I have to say. The colors in the front and back cover looks very strange. This is the reason for 4 stars rating.
Robert S. –
The content detail, coupled with the understandability of the information being presented, makes this an incredibly valuable foundational textbook!! Bayesian concepts had been a little confusing and hard to inculcate but this book presented these essential concepts in a way that made it easy to grasp. This is a must have book for anyone looking to learn or deepen their understanding in Bayesian statistics.
Tiffany Amelia Thomas –
I used this excellent resource in conjunction with my Google Data Analytics course!
D –
Well written, covers a breadth of useful topics. Highly recommend if you use R already and want to learn more.
Lisa –
Un manuale da avere se si utilizza o si vuole approfondire il linguaggio R per le scienze e l’analisi dei dati. Il testo è completo (scritto in inglese), le immagini sono nitide e chiaro. Consigliato
Murray A. Sondergard –
Great update. Essential to learning R.
.
Jesús –
Con base a mi experiencia considero que es un excelente libro para adentrarte en el mundo de la programación bastante bien explicado y con ejemplos bastante sencillos. Si ya tienes experiencia programando considero que también es una excelente herramienta para comprender de manera fácil el Tidyverse.
GBales –
I used this for a data science course. A lot of great information and really helps when learning ggplot2.
Math Kunde –
I started doing data science in my job in 2017 and was lucky to learn it based on the great first edition of “Data science with R” by Hadley Wickham. Since then, I spent countless hours working on different data science projects. My learning of course continued, mostly through online documentations, blog articles and I delved into more advanced topics like modellig, shiny and deep learning with other books. I also started coding in python from time to time.When the second edition of “R for data science” came out last year, I immediately ordered the book but it lay inside my shelf for some time. Recently, I felt I want to work myself through the second edition because I felt a bit overwhelmed with all the different data science topics out there and wanted to do a “2024 wrap up” of the tidyverse for myself.Halfway through the second edition now and so far this has been very rewarding! Even though I consider myself an advanced R user, I still learn a lot. Because a lot has happened in the tidyverse in the last 7 years and the book summarizes the current “best practices” perfectly. The style of writing makes it very interesting! When I have time on a free day, I love to sit in the morning with a cup of coffee to work myself through the pages and from time to time I get an aha moment like: “Oh nice I didnt know function XX has an argument to do YY now. That makes my life easier!”. Still, the book is straightforward for beginners too. In my opinion a much easier and complete overview to get started with data science compared to anything else out there in Python.To summarize: Being a newcomer or long-term data scientist, this book is for everyone!
Ontario, Canada –
Many new stuff have been added and the entire text has been improved. Buy it if you like tidyverse.
MK –
If you’re looking for a book on data analytics using R, this is the one. Stop looking.