Skip to content
Prev 10028 / 12125 Next

[R-pkg-devel] Wrong mailing list: Could the 100 byte path length limit be lifted?

On Wed, Dec 13, 2023 at 8:06?AM McGrath, Justin M <jmcgrath at illinois.edu> wrote:
In R (>= 4.2.0), the default R_LIBS_USER path has moved to under
LOCALAPPDATA, e.g. "C:\Users\[User
Name]\AppData\Local\R\win-library\[R version]".  See
https://cran.r-project.org/bin/windows/base/rw-FAQ.html

FWIW, one workaround for too long paths on MS Windows is to map a long
path to a drive letter, e.g.

subst Y: 'C:/VeryLongPathToo/Users/JohnDoe/AppData/Local/R/'.

and then work with Y: instead of C:. We had to use that in some
projects with nested data folder structures. This approach is tedious,
and might require special permissions (not sure).

/Henrik
Message-ID: <CAFDcVCTK7432817HghYpb7rGUf3uLs=y8+Eo7qVDgE82YZ0ynw@mail.gmail.com>
In-Reply-To: <CO1PR11MB5122A8AF888CDFF2CAA1722AB78DA@CO1PR11MB5122.namprd11.prod.outlook.com>