Set up
- Install R and Rstudio.
- Install a set of development tools:
- On Windows, download and install Rtools.
- On Mac, install the Xcode command line tools.
- On Linux, install the R development package, usually called r-devel or r-base-dev.
- Install the following R packages.
install.packages("tidyverse")
install.packages("devtools")
devtools::install_github("gmlang/ezplot")
Note: throughout this book, if when displaying plots, you encounter an error like this,
Error in grid.Call(L_textBounds, as.graphicsAnnot(x$label), x$x, x$y, : polygon edge not found, just run dev.off() and then print(p).