RStudio is a free and open source integrated development environment (IDE) for R. It consists of a console where the user can type R commands and an environment which shows the data that has been loaded. R should be installed first. R Studio once downloaded and installed should detect your R installation.
Download the latest version of R Studio from the following link: https://www.rstudio.com/products/rstudio/download/
Select the free “RStudio Desktop version” and download the Installer specific for your OS.