When I am trying to install ggplot I get the following message:
Error in install.packages : Updating loaded packages
It asks me to restart but when I press "Yes" it try to restart but does not succeed.
Based on a similar discussion in RStudio Community (Issue with installed.packages) I tried the following but still no luck:
- Used Ctrl + Shift + F10 to restart.
- Re-installed R and RStudio
- Tried using a new session.
Appreciate if anyone can help.