How to Install R(R Studio) on Linux Mint 20
To Install R on linux Mint 20
Introduction:
R is a familiar open-source programming language that is used for graphical and statistical computing which is supported by the R Foundation for Statistical Computing and largely used by statisticians and data miners for developing statistical software and performing data analysis. This tutorial will cover the installation of R (R Studio) on Linux Mint 20.
Installation Procedure:
Check the version of Linux Mint OS
root@LinuxHelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 20to Install R (R Studio) on linux Mint 20
Release: 20
Codename: ulyana
Now update the packages
root@LinuxHelp:~# apt update
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
.
.
.
Fetched 5,263 kB in 11s (490 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
403 packages can be upgraded. Run 'apt list --upgradable' to see them.
Once the update is completed the add the repository by using following command
root@LinuxHelp:~# add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'
Once the repository is added then install R (R Studio) by using following command
root@LinuxHelp:~# apt install r-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
build-essential bzip2-doc cpp-9 g++ g++-9 gcc-10-base gcc-9 gcc-9-base gfortran gfortran-9 icu-devtools libasan5
.
Processing triggers for doc-base (0.10.9) ...
Processing 8 added doc-base files...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
The installation is completed then check the version of the R ( R Studio) by using following command
root@LinuxHelp:~# R --version
R version 3.6.3 (2020-02-29) -- "Holding the Windsock"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.
Here you can see the R language application on Menu Bar
With this method, the installation of R (R Studio) on Linux Mint 20 is comes to an end.
Comments ( 0 )
No comments available