On most computers, the installation of both R and RStudio using all default settings will work out just fine. Thus, if you use your own computer on which you have appropriate admin rights, you can install R first, and then RStudio, using the default settings.
However, if you:
then do not install R the default way, but follow the steps as outlined in the next section. Note that this only refers to R; RStudio can still be successfully installed in the default way.
Note that this installation description is tailored to Windows computers!
To circumvent various issues that may hinder a smooth R experience, you can install R (and its packages) in a different location than the default Program Files location. To do so, create a folder called “R” directly on the C drive; thus: “C:/R” (note that you can also name it differently, but here we assume that “C:/R” is the folder where you will be installing R):
C:/
|-- R/
To install and configure R and RStudio, follow the following steps: