You are on page 1of 19

Polytechnic University of the Philippines

Stat20023: Engineering Data Analysis

Introduction to R
Topics
• Introduction to R and R Studio
• Installation Process
• Data Types
• Data Structures

Stat20023: Engineering Data Analysis


What is R?
• R is a free software environment for statistical computing and graphics. It’s
open source and therefore available free of charge.

• R is an object oriented programming language where we create objects


and manipulate them as intended. Objects can be data frames, vectors,
matrices, lists, raw data, spatial objects, maps

Stat20023: Engineering Data Analysis


Why use R for data analysis?
• R is free to download and use
• R is open-source
• Data processing in R is very easy
• Data visualization tools in R are very extensive
• Advanced functionality often used in practice by scientists are available in R

Stat20023: Engineering Data Analysis


What is ?

A free, open source integrated development


environment or IDE for R

RStudio helps keep R more organized and it adds more


functionality to it

Stat20023: Engineering Data Analysis


Installation Steps
• Go to https://cran.r-project.org/
• Select version applicable to your computer

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Click install R for the first time

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Select Download R 4.0.3 for Windows

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Click Download R 4.0.3 for Windows

• By selecting Download R 4.0.3 for Windows, it will automatically download the .exe file

• Open the .exe file

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Click Download R 4.0.3 for Windows

• By selecting Download R 4.0.3 for Windows, it will automatically download the .exe file

• Open the .exe file

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Select Destination Location

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Select Components

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Select Start Menu Folder • Select Additional Tasks

Stat20023: Engineering Data Analysis


Installation Steps For Windows users

• Wait until the installation finish

Stat20023: Engineering Data Analysis


Installation Steps
• Go to
https://rstudio.com/
products/rstudio/do
wnload/
• Select RStudio
Desktop with Open
Source License
Installation Steps
For Windows users

Stat20023: Engineering Data Analysis


Installation Steps
For Windows users

Stat20023: Engineering Data Analysis


Installation Steps
For Windows users

Stat20023: Engineering Data Analysis


Installation Steps
For Windows users

Stat20023: Engineering Data Analysis

You might also like