R Introduction

R is a Programming Language used mainly for statistical computing and data analysis.
It's an open source and can be used by everyone.
Run's on Windows, macos and linux.


Created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, in 1993.
R has evolved and improved through out the years and is widely used in statistical computing and data analysis.


R language is used in many fields such as in

  1. Statistical Analysis
  2. Data Visualization
  3. Machine Learning
  4. Bioinformatics

R Structure

R is a scripting language, We use series of libraries or built in functions in R to write the code.
No need of basic syntax code to be written in order to work.
Take a look on the below R Code

a = 5
b = 6

print(a + b)

Just declare the variables and the values.
If you are familiar with python we can see some similar syntax.

Environment Setup

To Install R in your pc then

  1. Visit the official R website
  2. Download and install R.
  3. You can install R Studio for a enhanced experience

Search for the online compilers to run the R Programming Codes.

Quick Recap - Topics Covered

Introduction and history of R

Practice With Examples in Compilers

The Concepts and codes you leart practice in Compilers till you are confident of doing on your own. A Various methods of examples, concepts, codes availble in our websites. Don't know where to start Down some code examples are given for this page topic use the code and compiler.

Example 1
Example 1 Example 2 Example 3 Example 4 Example 5