I have a new laptop and installed R, Rstudio and Rtools again. Mainly using Rstudio.
When I install packages a lot of files appear in my onedrive.
I guess because fo these environment variables:
I tried to create a .Renviron in the Rstudio directory, but apparently this file is not being picked up / or this is not the way to change these directories
Any ideas on how to resolve this - basically I dont want to have all these files in my One Drive (I just keep Word/Excel files there).