17.9 C
Texas
angeloma
Senior Writer and partner

How to install RStudio on Ubuntu 20.04 / 18.04

No matter how complete and robust a programming language is, the programmer will always need a tool to write the code. These programs have to be complete and with features that can speed up the coding process. We usually call these programs IDE. There are IDEs that support many languages making them a Swiss army knife but there are others that are more specialized. So in this post, I will show you how to install RStudio on Ubuntu 20.04 / 18.04. It is almost impossible to write R code without using RStudio.

R Language and RStudio

RStudio is an IDE created especially for the R programming language. Its mission is to provide a statistical computing environment for R allowing analysis and development for anyone to analyze data with the language. As expected, it has all the common characteristics of an IDE.

Some of the features of RStudio are as follows:

  • Syntax highlighting.
  • Code debugging.
  • Integrated documentation and support.
  • Management of various folders and workspaces.

However, other possibilities can be done with RStudio. For example, with RStudio you can do many data analyses relatively quickly.

- Advertisement -

RStudio is available for Windows, Mac, and Linux which makes it cross-platform and open source with the AGPL license.

Install RStudio on Ubuntu 20.04 / 18.04

RStudio is just an application to take advantage of all the potential of R. Everything from a comfortable graphic interface made in QT.

This leads to the conclusion that we must first install the R language in this system before continuing.

To do this follow our instructions in this post

How to install R programming language on Ubuntu?

Once R is correctly installed, we can start the installation.

RStudio is not available from the official Ubuntu or Linux Mint repositories, but this does not mean that we cannot install it.

To do it first, you have to download the package for Ubuntu 18.04 from the RStudio website.

If you want to do it from a terminal (faster and more efficient) you can type the following command:

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

Once you download it, you have to install it. Since this package has some extra dependencies that you probably don’t have installed, you can use gdebi to install it.

If you do not have gdebi installed, you can use the following command:

:~$ sudo apt install gdebi

Once installed, now you do install RStudio on Ubuntu 18.04 / Linux Mint 19.x with the following command:

:~$ sudo gdebi rstudio-1.2.5042-amd64.deb

1.- Install RStudio on Ubuntu 20.04 / 18.04
1.- Install RStudio on Ubuntu 20.04 / 18.04

After some time installing the program, it will be available to run.

2.- RStudio
2.- RStudio

So, enjoy it.

Conclusion

RStudio is a vital application for working with R. It is used by many scientific and data analysis institutes that do very important mathematical tasks for society. So we are talking about a very important program for the world.

RStudio has paid versions that further increase the potential of it, but in the end it all comes down to potential.

Please share this post and join our Telegram Channel.

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article