Does RStudio use Window's LongPathsEnabled registry setting?

Hi, I was encountering strange behavior with reading-in text files in RStudio. I tracked the issue down to the path names being too long. I changed the Windows registry setting for LongPathsEnabled but this didn't seem to correct the issue. I was wondering, does RStudio use Window's LongPathsEnabled registry setting?

I am running the RStudio version "Prairie Trillium" Release on Windows 10.


Changing the registry actually worked for me (RStudio version Juliet Rose).
Maybe your windows version (pro or enterprise) need to change the group policies too (gpedit.msc).
Theoretically it is not necessary to change both, but after modifying the registry entry HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Control FileSystem, I realized that
Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem >Enable Win32 long paths remained as "Not configured".

I hope you solve this issue with long path names in W10.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.