0% found this document useful (0 votes)
18 views23 pages

R Lab File

R file

Uploaded by

vageesha1902
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views23 pages

R Lab File

R file

Uploaded by

vageesha1902
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

R Programming

Language Lab File

Submitted By: Vageesha Agarwal (23/BMBA/23)

Overview of R Programming Language


R is a powerful and versatile programming language specifically
designed for statistical computing and data visualization.
Developed initially by Ross Ihaka and Robert Gentleman in the
mid-1990s, R has become a cornerstone for data analysis and is
widely used in academia, research, and industry. Its robust
ecosystem includes a comprehensive suite of tools for
statistical modelling, machine learning, data manipulation, and
graphical representation. Open-source and community-driven,
R thrives on contributions from users worldwide, which are
distributed through the Comprehensive R Archive Network
(CRAN).
With its ability to handle complex datasets and its vast array of
libraries, R empowers users to perform everything from simple
data analysis to sophisticated statistical modelling. Its
extensibility and interoperability with other programming
languages make it a go-to choice for data scientists and
statisticians.

Key Features of R Programming Language


1. Comprehensive Statistical Support:
o Built-in functions for statistical tests, regression
analysis, time-series analysis, and multivariate
analysis.
o Extensive libraries for advanced statistical modeling
and machine learning.
2. Data Visualization:
o High-quality, customizable plots and graphics
through ggplot2, lattice, and base plotting.
o Interactive visualizations via packages like shiny,
plotly, and leaflet.
3. Open-Source and Free:
o Completely free and open-source, supported by a
vibrant community of contributors.
o Continuous updates and a vast repository of user-
contributed packages on CRAN.
Installation Process for R and RStudio
To use R effectively, you need to install the R programming
language (R Console) first, followed by RStudio, which is a
popular integrated development environment (IDE) for R.

Install R Console
1. Download R
 Visit the CRAN (Comprehensive R Archive Network).
 Choose your operating system (Windows, macOS, or
Linux).
2. Install R
 Windows:
o Click on the link for the latest R version for Windows.
o Download the .exe file and run it.
o Follow the installation wizard, selecting options like
the installation path and default settings.

Install RStudio
1. Download RStudio
 Visit the RStudio website.
 Choose the RStudio Desktop (Open Source) version for
your operating system.
Experiment 1 #25-08-2024
Input

Output
Experiment 2 #01-09-2024
Input
Output
Experiment 3 #08-09-2024
Input

Output
Experiment 4 #15-09-2024
Input
Output
Experiment 5 #06/10/2024
Input

Output
Experiment 6 #20/10/2024
Input

Output
Experiment 7 #03/11/2024
Input
Output

Experiment 8 #10/11/2024
Input
Output

Experiment 9 #04/12/2024
Input
Output

You might also like