0% found this document useful (0 votes)
133 views2 pages

R and Rstudio Setup Guide: Step 1: Installation of R

This document provides instructions for installing R and RStudio. It outlines 3 steps: 1) downloading and installing R from the cran website, selecting the version for your OS. 2) downloading and installing RStudio from their website, again selecting the version for your OS. 3) exploring RStudio and installing additional packages using the install.packages() function, listing examples of packages to install for different modules like R programming, statistics, machine learning, and more.

Uploaded by

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

R and Rstudio Setup Guide: Step 1: Installation of R

This document provides instructions for installing R and RStudio. It outlines 3 steps: 1) downloading and installing R from the cran website, selecting the version for your OS. 2) downloading and installing RStudio from their website, again selecting the version for your OS. 3) exploring RStudio and installing additional packages using the install.packages() function, listing examples of packages to install for different modules like R programming, statistics, machine learning, and more.

Uploaded by

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

NPTEL NOC18-CS28 Data science for Engineers

R and RStudio Setup Guide


This document contains instructions on systematic installation of R and RStudio
from the cran website.

Step 1: Installation of R

 Go to the following link to install R: http://cran.r-project.org


 Please make sure that you select the package compatible with your
operating system

Step 2: Installation of RStudio

 Go to the following link to download RStudio:


http://www.rstudio.com/products/rstudio/download/
 Please make sure that you select the package
compatible with your operating system

Step 3: Installation of packages

• Run RStudio and explore the environment


• Install the following packages from your repository. You may use
the install.packages() function available in R to do that
• Run the following command:

install.packages(<comma_separated package names>, dependencies = TRUE) in


your R console

For example: To install packages plyr and dplyr, run the following command:
install.packages(“plyr”, “dplyr”, dependencies = TRUE)
NPTEL NOC18-CS28 Data science for Engineers

Module Packages Module Packages


R plyr Linear algebra: lpSolve
programming: dplyr pracma
reshape2 SparseM
sqldf Matrix
ggplot2 MatrixModels
ggmap
GGally
gcookbook
scales
Probability
and Statistics visualize Predictive pbkrtest
modeling: EnvStats modeling: car
rmr alr3
caTools
leaps
Data sampling Machine e1071
preparation: mice learning: mice
pwr caret
survival party
FrF2 rpart
DoE.base rpart.plot
MASS tree
fitdistrplus MASS
car lars
predictmeans stats
caret pls
e1071 randomForest

You might also like