

However, make sure the curl is there on your system.

Go to Applications and you will find the Rstudio icon, click on it to run.Īfter setting up the R-base, you can install Rstudio on any Linux system such as CentOS, Ubuntu, and other supported ones using the quick installation command that is bash -c "$(curl -L )" Use the APT Package manager command: sudo apt install. Therefore, switch to the Downloads directory as whatever we download from the browser goes to this folder. It doesn’t matter if you are on Ubuntu 20.04 or 19.04/18.04 the steps of installing it will be the same. Go to the official website for the Rstudio and then click on the Ubuntu/Debian Linux.

Without the R-base package, the RStudio will not work on Ubuntu 20.04 or earlier version of Linux, it is a package that contains basic R-functions needed by the platform to perform various arithmetic operations while programming. Next, run the system update command to ensure all packages are up to date and to rebuild the repo cache. sudo apt-key adv -keyserver -recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 sudo add-apt-repository "deb focal-cran40/" 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. Additional tip Easy Steps to install Rstudio on Ubuntu 20.04 LTS Add gpg key and R-base repository
