Cover art for The Book of R, 2nd Edition
Published
No Starch, October 2025
ISBN
9781718503687
Format
Softcover, 908 pages
Dimensions
23.4cm × 17.9cm

The Book of R, 2nd Edition A First Course in Programming and Statistics 2nd edition

1 IN STOCK
Ships today!
Fast $7.95 flat-rate shipping!
Only pay $7.95 per order within Australia, including end-to-end parcel tracking.
100% encrypted and secure
We adhere to industry best practice and never store credit card details.
Talk to real people
Contact us seven days a week – our staff are here to help.

This long-awaited second edition folds years of updates into its beginner-friendly lessons on using R for data and statistical analysis.

This long-awaited second edition folds years of updates into its beginner-friendly lessons on using R for data and statistical analysis.

The Book of R is a comprehensive, beginner-friendly guide to R, the world's most popular programming language for statistical analysis. Even if you have no programming experience and little more than a grounding in the basics of mathematics, you'll find everything you need to begin writing programs in R.

You'll start with the basics, like how to handle data and write simple programs, before moving on to more advanced topics, like producing statistical summaries of your data and performing tests and modeling. You'll even learn how to create impressive data visualizations with R's graphics tools and contributed packages, like ggplot2, ggvis, and rgl.

Dozens of hands-on exercises take you from theory to practice as you learn-

The fundamentals of programming in R, including how to write data frames, create functions, and use variables, statements, and loops

Statistical concepts like exploratory data analysis, probabilities, hypothesis tests, and regression modeling and how to execute them in R

How to access R's thousands of functions, libraries, and datasets

How to draw valid and useful conclusions from your data and create publication-quality graphics of your results

The Book of R brings both statistics and R to life. With clear explanations, practical examples, and hands-on exercises, this book opens the door to the evolving world of data analysis.

New to this edition- The entire book has been revised and expanded, with nearly 100 pages of new content and exercises. You'll find greater coverage of data plots and R graphics, guidance on using pipes to string together commands, and new ways to read and write external files, among many other lessons.

Related books