https://hyp.is/suilgnnyEeyyGGNW_Viw0g/cran.r-project.org/bin/windows/base/rw-FAQ.html
You may not be able to update a package which is in use: Windows ‘locks’ the package’s DLL when it is loaded. So use update.packages() (or the menu equivalent) in a new session.
If you put library(foo) in your .Rprofile you will need to start R with --vanilla to be able to update package foo. If you set R_DEFAULT_PACKAGES to include foo, you will need to unset it temporarily.
It has been reported that some other software has interfered with the installation process by preventing the renaming of temporary files, Google Desktop being a known example.
https://hyp.is/suilgnnyEeyyGGNW_Viw0g/cran.r-project.org/bin/windows/base/rw-FAQ.html
You may not be able to update a package which is in use: Windows ‘locks’ the package’s DLL when it is loaded. So use update.packages() (or the menu equivalent) in a new session.
If you put library(foo) in your .Rprofile you will need to start R with --vanilla to be able to update package foo. If you set R_DEFAULT_PACKAGES to include foo, you will need to unset it temporarily.
It has been reported that some other software has interfered with the installation process by preventing the renaming of temporary files, Google Desktop being a known example.