Package installations
I always try first to update/install packages through the respective pane of Rstudio IDE
If you encounter thereby issues like:
updated package loaded at the moment
not able to remove old package version
…
Then this workflow should help
- copy the install.packages() call
- close all Rstudio instances
- navigate to the R installation folder
- run /bin/R.exe The Rscript.exe file is a scriptinterpreter only.
- there paste your install.packages() code, and update the packages, this should work smootly now.
- Restart Rstudio and have fun with the newly updated packages