How to Install R on Ubuntu 18.04 and 16.04

 

R is a free programming language and  and illustrations bolstered by the R Foundation for Statistical Computing. The R language is generally utilized among analysts and information diggers for creating measurable programming and information examination. Surveys, information mining overviews, and investigations of academic writing databases show significant increments in notoriety as of February 2020, R positions thirteenth in the TIOBE file, a proportion of prominence of programming dialects.

In this post, We will install r on ubutnu 16.04 and 18.04

Update the Repository

Step 1:- Use the given command to update the ubuntu current repository.

$ sudo apt-get update

Install Dependencies

Step 2:- To install requirement use the following command.

$ sudo apt-get install apt-transport-https software-properties-common -y

Add Repository

$ sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

$ sudo add-apt-repository ‘deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/’

Install R

Step 3:- To install the R package, Use the given command.

$ sudo apt-get update && sudo apt-get install r-base -y

After installation of the packages, You need to verify the version by using the command.

$ R –version

You should get the R version details .

How to Install R on Ubuntu 18.04 and 16.04

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top