Having trouble installing ggplot2 package using - install.packages("ggplot2")

Whenever I type this code in, i get this message:

"Warning in install.packages :
the 'wininet' method is deprecated for http:// and https:// URLs
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/ggplot2_3.3.6.zip'
Content type 'application/zip' length 4122096 bytes (3.9 MB)
downloaded 3.9 MB"

Why is this not installing packages correctly?


The console output you show is only a warning message concerning your downloads configuration, not an error message, the package has been installed successfully.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.