I am having an issue changing my default library in R. I previously had a storage space problem on my university laptop and IT amended my user drives which left my previous Rlibrary in limbo somewhere on the previous drive. I have uninstalled and re-installed R a few times just to be sure, but it remembers my previous library location when I re-install it. And subsequently R struggles to see the packages I need to run my models. I have subsequently tried (unsuccessfully) to implement the steps in this previous post: Where does R store packages? The main problem I encounter is when I attempt to edit the R.profile.site file using VIM it says E12: Rprofile.site: Can't open file for writing. I have also tried the same edit in Notepad ++ which doesn't work either. I am no computer programmer so perhaps there is a step I am missing here?
What I really want is one repository for my library. I would be happy to simply remove [1] below as this is the now defunct drive. My current library paths are:
.libPaths() [1] "\\studenthome.qut.edu.au/group05$/n2559005/Documents/R/win-library/3.1" [2] "C:/Program Files/R/R-3.1.2/library"