R Studio Desktop Install in Ubuntu 20.04

 

Install R environment

Install R environment as follows (for more details, please check Install R environment in Ubuntu Linux) as follows.

$ sudo apt update
$ sudo apt install r-base

Install RStudio Desktop on Ubuntu

After the R environment is ready, we can move to to install the RStudio Desktop.

First, download the RStudio Desktop software package by

$ wget https://download1.rstudio.org/desktop/bionic/amd64/rstudio-1.3.1093-amd64.deb

Then, install the deb package as follows.

$ sudo apt install ./rstudio-1.3.1093-amd64.deb 

Verify the R and RStudio Desktop installation

Start RStudio Desktop by opening the RStudio program from the application launcher or application menu, or by running the command

$ rstudio

Then the RStudio Desktop window will show. In the Console panel, let’s run some demos and verify the environment:

> demo(nlm)

Hit Enter to start the demos. The results and plot will shows as follows.

Comments