You must have admin rights on your laptop to install the software.
Download the latest version of R, for Windows, from CRAN at : https://cran.r-project.org/bin/windows/base/
Double-click on the file you just downloaded to install R
Cick ok –> Next –> Next –> Next …. (no need to change default installation parameters)
Download and install RStudio at: https://posit.co/download/rstudio-desktop/
Double-click on the file you just downloaded to install R
Cick ok –> Next –> Next –> Next …. (no need to change default installation parameters)
Download and install XQuartz from here: https://www.xquartz.org/releases/XQuartz-2.8.5.html
Download and install RStudio at: https://posit.co/download/rstudio-desktop/
(the website will direct you to download the right RStudio version for your operating system)
After installing R and RStudio, launch Rstudio and in the Console pane type ‘4+5’ (without the quotes) and hit enter. An output line with ‘[1] 9’ should appear. This means that R and RStudio are working.
That’s it!