“R” is a programming language that was designed for statistical computing back in 1993. The best thing is that this language is still being used extensively especially for data analysis purposes during research. In today’s article, I will show you how to install the “R” Toolchain on Linux Mint 20.
For installing “R” on your Linux Mint 20 system, you need to perform the following steps:
Before installing the package that allows you to use “R” on Linux Mint 20, you have to update your system first with the command shown below:
$ sudo apt-get update
This command will update all those packages and dependencies that need to be fixed before installing any new package on your Linux Mint 20 system.
Now when our Linux Mint 20 system has been updated, we can conveniently install the “r-base” package on it with the following command:
$ sudo apt install r-base
During the installation of this package, you will be asked once to provide confirmation for this action by typing in “Y” and pressing the Enter key on your terminal as highlighted in the image shown below:
Once the installation of the “r-base” package will complete on your Linux Mint 20 system, you will be able to use the mathematical functions of the “R” programming language on your system.
You can also verify if “R” has been successfully installed on your Linux Mint 20 system or not by checking its version with the following terminal command:
$ R --version
The version of “R” installed on our Linux Mint 20 system is 3.6.3 as shown in the image below:
If you want to remove the “R” programming language from your Linux Mint 20 system, then you will have to remove all the traces of the “r-base” package from your system i.e. the package that allows you to use the “R” programming language. This can be done by executing the following two steps:
First, you have to uninstall the “r-base” package and its configuration files from your Linux Mint 20 system by executing the command shown below:
$ sudo apt-get purge r-base
When the “r-base” package and all of its configuration files will be successfully removed from your Linux Mint 20 system, the execution of the above-mentioned command will terminate while displaying the following messages on the terminal:
Finally, you should also get rid of all the unused packages and dependencies that you do not need any longer after uninstalling “R” from your Linux Mint 20 system. You can do this by executing the command stated below in your terminal:
$ sudo apt-get autoremove
This command will free up all the additional space that was occupied by the unused packages and dependencies and will finish its execution once all such packages will be successfully removed from your system.
By following today’s tutorial, you will be able to install the “R” programming language on your Linux Mint 20 system instantly. However, as soon as you feel like you do not want to work with this language anymore, you can conveniently uninstall it from your system to free up your resources.
Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…
ISPConfig is an open-source control panel that allows users to manage multiple servers from a…
As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…
Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…
Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…
phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…