I am running R on a networked computer where I don\'t have write access to most locations on the C drive. However, my IT department decided to load the entire CRAN repositor
If you want to change your library location permanently use this command: .libPaths("drive:/location/location")
If you want to change your library location for the particular session in RStudio (i.e. for a temporary change), use: assign(".lib.loc", "drive:/location/location", envir = environment(.libPaths))
Here be dragons.
assign(".lib.loc", "\your\preferred\library", envir = environment(.libPaths))