Changing the default user package library

rstudio
package
package-installation

#1

The RStudio server pro admin guide (section 5.10.1) mentions changing the default user library to ~/R/library so that it is not R version specific. Are there any downsides to doing this? Can I do the same thing on a local installation of R (i.e. remove the version from my package library path so I don't have to re-install packages each time I upgrade to a new version of R)?

Thanks!

Moved from thread: Upgrading R from 3.4.3 to 3.5


Upgrading R from 3.4.3 to 3.5
#2

You can definitely set up one or more user libraries for regular R installations and it has historically not been uncommon to do so (the R Installation and Administration guide pretty much assumes you will: https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Managing-libraries). There was a bit of discussion of the downside of having a single version-independent user library (along with other approaches to easing R upgrades) in this thread: