Professional Documents
Culture Documents
1a) Write the R code used in the installation & loading of Rattle GUI and attached snapshot
of the loaded Rattle. MAC USER
Install.packages(RGtk2)
Library(Rgtk2)
Install.packages(Rattle)
Library(Rattle)
Rattle()
1b) Describe different primitive data structures in R with their example codes in R and how
to test them.
1c) Differentiate between Data frame & Lists data structures of R and write a code to create
data frame of length 20.
1d.) Install and load “tidyverse” package in R-studio & comment on the variables of the
“starwars” dataset.
install.packages("tidyverse")
library(tidyverse)
data()
view(starwars)