Welcome to the R Programming Repository maintained by Prof. Anjit Raja R, Department of Computer Science.
This repository is designed exclusively for academic learning and practical exploration of the R programming language.
This repository provides purely program-based notes covering all 5 Units of the R Programming syllabus.
Each unit contains structured programs, outputs, and explanations to help students understand R concepts effectively.
| Unit | Title | Description |
|---|---|---|
| Unit I | Introduction to R | Basics of R, Data Types, Vectors, Scalars, Declarations, Vectorized Operations |
| Unit II | Control Structures & Functions | Conditional Statements, Loops, Built-in Functions, User-defined Functions |
| Unit III | Data Structures & File Handling | Arrays, Lists, Matrices, Data Frames, Reading/Writing Files |
| Unit IV | Classes and Objects in R | S3 & S4 Classes, Object Management, Input/Output Operations |
| Unit V | Modelling in R | Statistical Modelling, Linear/Non-linear Models, Time Series, Clustering, Parallel R |
You can access and run the programs in multiple environments:
- Open Google Colab.
- Change runtime to R (
Runtime → Change runtime type → R). - Copy the code from any
.ipynbnotebook in this repository. - Execute cells to view results interactively.
- Download the
.Rfiles or clone this repository:git clone https://github.com/anjitresearch/R-Programming.git
Open files in RStudio and run scripts directly.
🎯 Objectives
To provide a hands-on learning environment for R programming.
To enhance students’ understanding of statistical and data-driven programming.
To support academic projects and practical examinations.
To promote self-learning and exploration through open resources.
🧪 Sample Output
Each notebook includes sample outputs for better conceptual clarity. Students are encouraged to modify inputs and explore variations.
📂 Repository Structure R-Programming/ │ ├── Unit1_Introduction_to_R/ ├── Unit2_Control_Structures_and_Functions/ ├── Unit3_Data_Structures_and_File_Handling/ ├── Unit4_Classes_and_Objects/ ├── Unit5_Modelling_in_R/ └── README.md
🧑🏫 Maintainer
Prof. Anjit Raja R
“Learning R is not just about coding — it’s about discovering insights through data.” — Prof. Anjit Raja R
🌟 Acknowledgment
Special thanks to all students and collaborators who contribute to making this repository a valuable learning resource for the academic community.