Install R

R can be downloaded and installed from https://cran.r-project.org/bin/windows/base/

Install R Tools

R Tools can be downloaded and installed from https://cran.r-project.org/bin/windows/Rtools/rtools40.html

Install RStudio

R can be downloaded and installed from https://www.rstudio.com/products/rstudio/download/

The first time you launch R you will be prompted if you want to install devtools. Select Yes.