Problem with Installing a package

Error Information: Error in install.packages : Updating loaded packages and package ‘dplyr’ is in use and will not be installed

Description of issue - The package I am trying to use is constantly coming up saying that there is no package to use that function. I try to library it and it says that it is not installed. I try to install it and it says that it is in use.

Steps taken so far -

System Information:

  • RStudio Edition: Desktop
  • RStudio Version:
  • OS Version:
  • R Version:


  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

I get this sometimes, try restarting your R session (Session > Restart R session) then run install.packages in a new session.

1 Like

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