Foundations of R Software (In English language)

By Prof. Shalabh   |   IIT Kanpur
Learners enrolled: 3351
About the Course : 
Any scientific task without the knowledge of software is difficult to complete in the current scenario. R is free software that is capable of mathematical and statistical computing. It has its own programming language, built-in functions, and graphical capabilities to perform any specialized task in mathematics, statistics, and other areas. We intend to learn the fundamentals of R software in this course.

PRE-REQUISITES : Mathematics background up to class 12 is needed. Having some preliminary knowledge will be helpful but not necessarily mandatory.
INTENDED AUDIENCEUG students of Science and Engineering. Students of humanities with basic mathematical background can also do it. Working professionals in analytics and anyone involved in programming, mathematical and statistical computations, simulations and data analysis can also do it.
INDUSTRY SUPPORT : All industries involved in mathematical and statistical computations, programming and simulations and having R & D set up will use this course.
Course Status : Ongoing
Course Type : Elective
Duration : 12 weeks
Start Date : 25 Jul 2022
End Date : 14 Oct 2022
Exam Date : 30 Oct 2022 IST
Enrollment Ends : 08 Aug 2022
Category :
  • Mathematics
Credit Points : 3
Level : Undergraduate/Postgraduate

Page Visits

Course layout

Week 1: Why R and Installation Procedure; Help, Demonstration, and Examples in R; Packages and Libraries in R; Command Line and Data Editor
Week 2: Introduction to R Studio; Basic Operations in R; R as a Calculator with Scalars and Data Vectors : Addition, Subtraction, Multiplication & Division
Week 3: Calculations with Data Vectors :Addition, Subtraction, Multiplication & Division; R as a Calculator with Scalars and Data Vectors : Power operations, Integer and Modulo divisions; Built in Functions and Assignments; Matrices
Week 4: Matrix Operations – Row, Column & Other Operations; Matrix Operations – Access and Mathematical Operations; Matrix Operations – Mathematical and Other Operations; Logical Operators; Relational and Logical Operators
Week 5: Missing Data Handling, Conditional Executions – If and If-Else, Conditional Executions – Nested if else if and ifelse; Functions for Conditional Executions – switch and which commands
Week 6: Loops – for loop; Loops – while and repeat; Functions; Sequences
Week 7: More Sequences and Other Operations; Sequences of Dates and Alphabets; Repeats; Sorting, Ordering and Mode; Lists
Week 8: Operations on Lists; Vector Indexing; Factors; Factors – Class and Unclass; Strings – Display and Formatting : Print and Format Function
Week 9: Strings – Display and Formatting: Print and Format with Concatenate; Paste Function; String Splitting; Manipulations with Strings and Alphabets
Week 10: Strings – Display and Formatting: Substitution and Replacement of Strings; Data Frames; Data Frames: Creation and Operations; Data Frames: Combining and Merging
Week 11: Data Handling: Importing and Reading CSV and Tabular Data Files; Importing and Reading EXCEL and other Data Files; Saving and Writing Data Files; Introduction to Statistical Functions: Introduction, Frequencies and Partition Values;
Week 12: Graphics: Scatter Plot and Bar Plots; Sub-Divided Bar Plots and Pie Diagram , Histogram; Bivariate and Three Dimensional Scatter Plots, Some Examples of R Programming

Books and references

1. The R Software-Fundamentals of Programming and Statistical Analysis -Pierre Lafaye de Micheaux, Rémy Drouilhet, Benoit Liquet, Springer 2013
2.  A Beginner's Guide to R (Use R) By Alain F. Zuur, Elena N. Ieno, Erik H.W.G. Meesters, Springer 2009 
3. Introduction to Statistics and Data Analysis With Exercises, Solutions and Applications in R  Authors: Heumann, Christian, Schomaker, Michael, Shalabh, Publisher” Springer 2016
4. R Programming For Dummies, 2ed  Andrie de Vries, Joris Meys, Wiley (India), Low price edition.
5. Essentials of R with Data Analytics, Saroj Dahiya Ratnoo, Himmat Singh Ratnoo, Wiley (India), Low price edition.

Instructor bio

Prof. Shalabh

IIT Kanpur
Prof. Shalabh is a Professor of Statistics and Data Science at IIT Kanpur. His research areas of interest are linear models, regression analysis, and econometrics. He has more than 25 years of experience in teaching and research. He has developed several web-based and MOOC courses in NPTEL and has conducted workshops on statistics for teachers, researchers, and practitioners. He has received several national and international awards and fellowships. He has authored more than 100 research papers in national and international journals. He has written four books, and one of the books on linear models is coauthored with Prof. C.R. Rao. Another seminal book on Statistics with R software has been downloaded more than 5.4 million times. He has completed several projects and has played an important role in propagating the knowledge of R software in the country.

Course certificate

The course is free to enroll and learn from. But if you want a certificate, you have to register and write the proctored exam conducted by us in person at any of the designated exam centres.
The exam is optional for a fee of Rs 1000/- (Rupees one thousand only).
Date and Time of Exams: October 30, 2022 Morning session 9am to 12 noon; Afternoon Session 2pm to 5pm.
Registration url: Announcements will be made when the registration form is open for registrations.
The online registration form has to be filled and the certification exam fee needs to be paid. More details will be made available when the exam registration form is published. If there are any changes, it will be mentioned then.
Please check the form for more details on the cities where the exams will be held, the conditions you agree to when you fill the form etc.


Average assignment score = 25% of average of best 8 assignments out of the total 12 assignments given in the course.
Exam score = 75% of the proctored certification exam score out of 100

Final score = Average assignment score + Exam score

YOU WILL BE ELIGIBLE FOR A CERTIFICATE ONLY IF AVERAGE ASSIGNMENT SCORE >=10/25 AND EXAM SCORE >= 30/75. If one of the 2 criteria is not met, you will not get the certificate even if the Final score >= 40/100.

Certificate will have your name, photograph and the score in the final exam with the breakup.It will have the logos of NPTEL and IIT Kanpur. It will be e-verifiable at nptel.ac.in/noc.

Only the e-certificate will be made available. Hard copies will not be dispatched.

Once again, thanks for your interest in our online courses and certification. Happy learning.

- NPTEL team

MHRD logo Swayam logo


Goto google play store