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