R Installation

In this tutorial you will learn about the R Installation and its application with practical example.

R Installation

Installing R In Windows

In order to setup R Programming development environment you need to have R installed, so if you don’t have it installed, check the following instruction to get R Language installed. If you’ve already have installed R Language in your system, you can skip this part.

Step 1:- Download the R Setup from the official R Language website, link given below –

Step 2:- Run the installer (the .exe file you downloaded in the previous step.)

R_Installation_1

Step 3:- Follow the installation wizard to install R.

R_Installation_2

Screenshot_3

Step 4:- Select the Installation path and click next.

Screenshot_4

Screenshot_5 Screenshot_6

Screenshot_7 Screenshot_8

Step 5:- Now, you can open the R GUI from here

Screenshot_9

Screenshot_10

Step 6:- If you want to execute R Script from command prompt, “C:\Program Files\R\R-3.5.1\bin” has to be added to environment variables in advanced system properties.

Step 7:- Now, lets open the terminal and run the following command in order to verify the R installation.

Screenshot_11

Installing R on Linux

If you are a Linux user, then install R using following command –

Installing R on Ubuntu

Recommended:-  R Function
In this tutorial we have learn about the R Installation and its application with practical example. I hope you will like this tutorial.