Issue with installed.packages - Endless loop - "Updating Loaded Packages - One or more of the packages that will be updated by installation are currently loaded. Restarting R prior to updating these packages is strongly recommended"

Hi, @anapy, recently I used to fail to install ggplot2 package with newest version. Here is my general way to fix problem about installling packages (I post here and copy it).

  • In the console, type .libPaths() or find.package (@cderv) and get the package path in your computer.
  • Go to the path and delete the package folder
  • Reuse install.package() function to try.

If in this way, it also fail. I suggest you can install this package from github in the developing version.

2 Likes