Free demoJob-oriented courses at Debugshala, Old Palasia, Indore. Freshers, non-IT and year-gap welcome.Book a free demo +91-8982385539
Free course · by Debugshala, Indore

R Tutorial

7 free lessons, in the order we teach them in class: start at lesson 1 and work down. Every lesson has an analogy, a diagram, code you can run or copy, a quick quiz and an FAQ.

  • 7Lessons
  • 1Modules
  • ~1 hReading time
  • FreeAlways

01R Basics

  1. What is R Programming? Uses, Features and First CodeWhat R programming is, who uses it and why analysts love it: vectors, data frames, CRAN packages and your first R code on a real Indore retail dataset.
  2. Install R and RStudio on Windows, macOS and Linux (2026)Install R and RStudio step by step on Windows, macOS and Ubuntu, check your R version, add packages, and run your first R script without common setup errors.
  3. R Data Types and Variables: numeric, character, logicalLearn R data types and variables: numeric, integer, character and logical, class() vs typeof(), conversion with as.*(), coercion rules, NA, NULL and dates.
  4. R Vectors: Create, Index, Filter and Do Vectorised MathsLearn R vectors with a week of store sales: create them with c(), seq() and rep(), index by position, name or condition, filter, and use vectorised maths.
  5. R Lists: Create, Access and Modify with $, [[ ]] and [ ]Learn R lists through a real grocery order: create lists, read elements with $ and [[ ]], see why [ ] differs, add or remove items, and nest and loop.
  6. R Matrices and Arrays: matrix(), Indexing, apply() and MoreLearn R matrices and arrays with store-by-category sales: build with matrix(), name rows and columns, index with [i, j], add totals and stack months.
  7. R Data Frames: Create, Filter, Sort and Summarise TablesLearn R data frames on a real orders table: create and inspect them, pick rows and columns, add columns, filter, sort and total sales with aggregate().
Practise on Debugshala TestOnline compiler, coding questions, aptitude and reasoning MCQs. Free at test.debugshala.com ↗