I need to change the home directory for R / Rstudio, at the moment it works in the OneDrive folder , and it creates problems with sync.
What I would like to change is not just the directory where libraries are installed.
For example, I always get the .Rhistory
file in the OneDrive directory, as well as the libraries.
I would like "move" everything to another directory.
I tried with .Renviron
file, but it still needs to be placed inside the OneDrive folder, and still I didn't succeed in have evrything moved in another place.
How can I do it?