

Run the downloaded file (double click the file) to start the setup wizard. Although we could now run R from the Ubuntu terminal by typing R and hitting enter, it will be much more convenient to install RStudio Server (free version) and use that as an interface to R on our virtual Ubuntu machine. To open RStudio IDE, search for RStudio in the Ubuntu dash.


To install R in Ubuntu, we will have to go through the following steps. That said, hirsute binaries should work too (or even focal binaries, as one does with the 5000+ r-cran-* binaries the 'cran2deb4ubuntu' repo for the LTS release). Easy Steps to install Rstudio on Ubuntu 20.04 LTS Add gpg key and R-base repository. Install the R-base package using the following code. To add the repository for installing R-base on Ubuntu first we need to add the key so that system can verify the packages we are about to download, is from a genuine source.
