R is a free, open-source programming language used mainly for statistical analysis and data visualization.
R is popular among data scientists and researchers because it has a lot of built-in tools for analyzing data and making graphs.
Learning R opens up many job opportunities as it’s in high demand for data science, analytics, and research roles across various industries.
R Tutorial
- What is R Programming?
- Setting Up R Environment
- Your First R Program
- Structure of an R Program
- R Comments
- R Data Types
- R Variables
- R Arithmetic Operators
- R Relational Operators
- R Logical Operators
- R Assignment Operators
- R Keywords
R Control Flow Statements
- R Control Flow Statements
- R if-else Statement
- R switch Statement
- R for Loop
- R repeat Loop
- R while Loop
- R next Statement
- R break Statement
R Functions
Data Structures
R Data Visualization
R Data Interfaces
- R Read and Write CSV Files
- R Read and Write Excel Files
- R Read and Write Text Files
- R Read and Write Binary Files
- R Read and Write JSON Files
- R Read and Write XML Files
R MySQL Database
- R MySQL Connection
- R MySQL – Create Table
- R MySQL – Insert Data (Data Frames)
- R MySQL – Read Data
- R MySQL – Update Data
- R MySQL – Delete Data
- R MySQL CRUD Operations
R Programs with Output
- R Program to Print Hello World
- R Program to Add Two Numbers
- R Program to Find the Square Root of a Number
- R Program to Check if a Number is Even or Odd
- R Program to Generate Fibonacci Sequence
- R Program to Check if a Number is Prime
- R Program to Find the GCD of Two Numbers
- R Program to Find the LCM of Two Numbers
- R Program to Check if a String is a Palindrome
- R Program to Create and Access Elements of a Vector
- R Program to Perform Arithmetic Operations on Vectors
- R Program to Sort a Vector
- R Program to Find the Maximum and Minimum Elements in a Vector
- R Program to Merge Two Vectors
- R Program to Create and Access Elements of a List
- R Program to Check if a Number is Prime
- R Program to Take Input from User
- R Program to Make a Simple Calculator
- R Program to Print the Fibonacci Sequence
- R Program to Calculate Simple Interest
- R Program to Find Minimum and Maximum Values
- R Program to Append Elements to a List
- R Program to Convert a List to a Vector
- R Program to Add and Subtract Two Matrices
- R Program to Multiply Two Matrices
- R Program to Find the Transpose of a Matrix
- R Program to Create a Data Frame
- R Program to Add Rows and Columns to a Data Frame
- R Program to Sort a Data Frame by a Column
- R Program to Merge Two Data Frames
- R Program to Filter Rows in a Data Frame
- R Program to Select Specific Columns from a Data Frame
- R Program to Rename Columns in a Data Frame
- R Program to Concatenate Two Strings
- R Program to Find the Length of a String
- R Program to Convert String to Uppercase
- R Program to Convert String to Lowercase
- R Program to Replace Substring in a String
- R Program to Split a String into Substrings
- R Program to Remove Whitespaces from a String
- R Program to Reverse a String
- R Program to Extract a Substring from a String
- R Program to Check if a Number is Positive, Negative, or Zero
- R Program to Find the Largest of Three Numbers
- R Program to Generate Multiplication Table Using for Loop
- R Program to Calculate Mean, Median, and Mode
- R Program to Calculate Standard Deviation and Variance
- R Program to Generate Random Numbers