options(repos = c(CRAN = "https://cloud.r-project.org"))
install.packages("ISLR2")
The downloaded binary packages are in
/var/folders/n6/kts7k_nx3v3208p01m5x0p_00000gn/T//RtmpE3d66x/downloaded_packages
library(ISLR2)
library(ggplot2)
install.packages("GGally")
The downloaded binary packages are in
/var/folders/n6/kts7k_nx3v3208p01m5x0p_00000gn/T//RtmpE3d66x/downloaded_packages
library(GGally)Registered S3 method overwritten by 'GGally':
method from
+.gg ggplot2
knitr::opts_chunk$set(echo = TRUE)
library(MASS)
Attaching package: 'MASS'
The following object is masked from 'package:ISLR2':
Boston
library(class)
library(e1071)