What you need
This book requires two free programs, which should be installed in the following order.
- R — the statistical programming language, available from cran.r-project.org.
- RStudio Desktop — an integrated development environment that provides a more convenient interface for working with R, available from posit.co/download/rstudio-desktop.
Several chapters use additional R packages. These need to be installed only once, by running the following command in the RStudio console:
No other software is required, and everything used in this book is freely available.