Introduction
R is an important programming language which is used by statisticians. It is also used in machine learning, data science, and research.
This is a free and open source software language. There are several packages available in R which are used for different types of functionality to be performed.
In this article, we shall discuss how to work and implement R programming language. After that, we shall discuss some of the important functions of R language.
Let's start now with the basics of R.
R Working Environment
We can work with R in RStudio. It can be downloaded from online and it is free. Once you install RStudio and open it will look like the below window.
RStudio has four separate windows integrated within it. They are,
R is an important programming language which is used by statisticians. It is also used in machine learning, data science, and research.
This is a free and open source software language. There are several packages available in R which are used for different types of functionality to be performed.
In this article, we shall discuss how to work and implement R programming language. After that, we shall discuss some of the important functions of R language.
Let's start now with the basics of R.
R Working Environment
We can work with R in RStudio. It can be downloaded from online and it is free. Once you install RStudio and open it will look like the below window.
RStudio has four separate windows integrated within it. They are,
- Code Editor
- R Console
- Workspace and History
- Plot and files

Let's discuss about these windows briefly.
- Code Editor
We can create R script file and can do our R programming stuff related to our functionality in Code Editor. We can save and open R script file in code editor for future reference. We can use file menu for opening and creating an R script file. Everything created with .R extension. - R Console
Everything that we create and type in Code Editor is also reflected in R console. We can execute code from R console. The basic difference between Code Editor and R console is that we can save, reopen and edit Code Editor file but it can not be done with R console. The files and codes written in R console remain in computer RAM so once we close the system it lost the data. - Workspace and History
This window displays the history of stuff we did earlier. It displays the variable with the data currently available with those variables. - Plot and files
This window displays different types of files available for working. It also displays the plots, chart, and area used or plotted during R programming.
Getting help in R
Getting help and description of any function in R is very impressive. Once you are stuck on any point just use one of the below methods,
Getting help and description of any function in R is very impressive. Once you are stuck on any point just use one of the below methods,



Hadshana KamalanathanPosted Jul 22, 2018, 3:53 AM
Nice one..