Install R and RStudio on Windows 7, 8, and 10
1. Download R from http://cran.us.r-project.org/.
2. Click on Download R for Windows. Click on base. Click on Download R 3.3.2 for Windows (or a newer version that appears).
3. Install R. Leave all default settings in the installation options.
5. Open RStudio
6. (Optional) If you want to learn about using RStudio, please see this Regression in R