This topic in SAEPER
For a more complete discussion of installing and running R, see SAEPER: Using R.
Standard installation
To download and install R, visit cran.r-project.org/. There you will find links for installation on Linux, Mac OS, and Windows operating systems.
RStudio
I also recommend using RStudio. This software is an environment for R that makes it easier to see code, output, datasets, plots, and help files together on one screen. posit.co/products/open-source/rstudio/. It is also possible to install RStudio as a portable application.
Portable application
R can be installed as a portable application. This is useful in cases where you don’t want to install R on a computer but wish to run it from a portable drive. My portable installation of R with a handful of added packages is about 250 MB. The version on RStudio I have is about 400 MB. So, 1 GB of space on a usb drive is probably sufficient for the software along with additional installed packages and projects.
R Online
It is also possible to access R online, without needing to install software. One example of this is rdrr.io Snippets. This site includes common add-on packages.