I am running Rstudio 0.97 with R 3.0.1 on Windows 8.1. I installed a lot of packages through Rstudio and they all went to "\R\R-3.0.1\library". Now I installed R 3.1.0 and set Rstudio to use the new version of R. But then I found the packages are all inaccessible from Rstudio.
How to make the packages in a shared folder so that the different versions of R on my PC can all use them?
I tried to use .libPaths("XXXX package sharefolder") to set a sharefolder to storing and installing new packages, it works in a session but when I restart Rstudio, the path is reset. Didn't work.