R – Zip path is too long

  r, sharepoint, windows

When loading a file from a synced sharepoint folder – i am getting an error advising zip path is too long.

>test = read_excel(file_list[1])

Error: Evaluation error: cannot open the connection.
In addition: Warning message:
In unz(zip_path, file_path, open = "rb") : zip path is too long

I thought this may of been due to the character limitation within windows.

> nchar(file_list[1])
[1] 240

I have checked the registry, and LongPathsEnabled is set to 1.

Any ideas?

Source: Windows Questions

LEAVE A COMMENT