> library(ggplot2) Error in library(ggplot2) : there is no package called ‘ggplot2’ Warning: unable to access index for repository https://cran.rstudio.com/src/contrib: cannot download all files 提示没有这个包怎么办?
Rstudio==>Tools==>Install Pakages==>ggplot2==>install
是我把双引号给漏了
应该是install.packages("ggplot2")