Download the most updated R version for your operating system from the Comprehensive R Archive Network (CRAN).
After installation on your computer, this is how the R program should open:
Download the most updated RStudio version for your operating system through Posit.co.
RStudio is an easier-to-use interface for R, known as an “integrative development environment” (IDE).
RStudio is free and open-source, but requires initial installation of R to function. The RStudio interface will facilitate writing R code to help you better manage your data sets, display results interactively, and easily find help documentation regarding R’s base code and user-contributed packages.
This is how RStudio should appear after installation: