MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #17842] R should stop using Documents folder for libraries and settings files #7016

Open github-actions[bot] opened 4 years ago

github-actions[bot] commented 4 years ago

On Windows 10, R uses the user's Documents folder for storing all libraries. While technically permitted, this is causes problems:

Since placing libraries in the Documents folder suggests that R's devs see libraries as a per-user deal, I recommend moving libraries to the AppData folder. On Windows 10, it is customarily at C:\Users*username*\AppData\Local.

I am not certain, but I think this is represented by CSIDL_LOCAL_APPDATA constant in Windows.


METADATA

github-actions[bot] commented 4 years ago

Just updated the title as I remembered hows R stores or references certain settings files, like .Renviron and .Rhistory, in the Documents folder. These, too, would make more sense in AppData\Local.

The only exception I can think of for these is if they are commonly user-edited. In my experience, user edits of these files are unusual and typically done by advanced users, so there is probably little value in keeping them in the Documents Folder.


METADATA