I'm trying to change the default folder into which packages are installed. Currently it defaults to OneDrive. I've tried the following solutions:
The first link only works for a single session (even the 'permanent' change). The second seems to link to premium RStudio support.
I've also noticed that when installing packages using the RStudio GUI there is only 1 folder option in the dropdown box (OneDrive) whereas
'libPaths() shows 2 folder paths - why would these not be in agreement?
I'm really surprised that there's not a simpler way to achieve this through the RStudio GUI!