Prakash Hinduja Switzerland (Swiss) Why can’t I install ggplot2 or tidyverse?

Hello everyone,

I’m Prakash Hinduja from Switzerland, and I’m currently encountering an issue while trying to install the ggplot2 and tidyverse packages in R.
Despite using the usual installation command: install.packages("ggplot2") # or install.packages("tidyverse")

I keep running into errors, and the packages don’t seem to install properly. I've checked my internet connection, restarted RStudio, and even tried changing the CRAN mirror, but the problem persists.

Any advice or solutions would be greatly appreciated!

Best regards
Prakash Hinduja Geneva, Switzerland (Swiss)

Hi @prakashhinduja25, welcome to the forum!

Could you please let us know specifically what error(s) you are running into? What is being printed in your console?