You can create a library directory where you have write-permission then direct R to install all packages to it. See the following link for example
https://csgillespie.github.io/efficientR/3-3-r-startup.html#renviron
3 Likes