Hi everyone,
I tried several way to install ggplot2 on R in Mac system, and I have download the package as it suggested, but still failed to install it. I am a beginner in R, so I have no idea how to solve it as I have read so many articles. Please give me suggestions, thank you!
knitr::opts_chunk$set(echo = TRUE)
install.packages('ggplot2')
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.1/ggplot2_3.3.5.tgz'
Content type 'application/x-gzip' length 4125542 bytes (3.9 MB)
==================================================
downloaded 3.9 MB
The downloaded binary packages are in
/var/folders/jt/bc6lcv8538nby_j6076xx9km0000gn/T//RtmpNppkLK/downloaded_packages