Installing R in Linux

R is an open source programming language and software environment for statistical computing and graphics that is supported by the R Foundation for Statistical Computing. It is widely used among statisticians and data miners for developing statistical software and data analysis. Polls, surveys of data miners, and studies of scholarly literature databases show that R’s popularity has increased substantially in recent years. It compiles and runs on a wide variety of UNIX platforms, Windows and MacOS. 
In this post I will explain you simple steps to instal R in Linux Distros such as Debian and Debian based distros ( Ubuntu, Mint and etc..) , Reh HAt Linux and RHL based distros (Fedora) and Open Suse.

Installing R in Ubuntu / Debian / Linux Mint

1. Open Terminal 
2. In terminal run the following command:
                  sudo apt-get update
        sudo apt-get install r-base r-base-dev
r-base will install R in your system and r-base-dev is for users who need to compile R packages from source.

Installing R in Fedora

1. Open Terminal
2. In terminal run the following command:
                 sudo yum install R
This command will install R that includes ‘R-core’ and ‘R-core-devel’.

In further post I will explain how to install R Studio for Linux users.

Share and Subscribe Sulthan Academy for more updates. Follow my YouTube Channel Sulthan.A to receive video updates.

Leave a comment

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