I just upgraded rstudio to 1.2.5033. Unfortunately I do not know the version I was using previously but it was fairly old (~ 6 months or more). If there is a way to see the previous version on Windows let me know and I can add.
I am running on Windows 10 enterprise 10.0.16299 Build 16299.
As soon as I upgraded I can no longer save R scripts to network shares, I get the message "The filename, directory name, or volume label syntax is incorrect" reported elsewhere after being asked if I am "sure you want to change the type of the file so that it is no longer an R script?". I can save to C:\TEMP.
Note I also get an error when trying to open an R script on the share via the IDE. If I launch the IDE by double-clicking on the file it works fine, and once I've opened it once in Rstudio, I can open it again.
I do not have admin rights to this computer and I need to be able to save to My Documents which is networked for backup purposes. Note 'controlled folder access' is turned off (another user reported that adding rstudio to the exception list fixed their issue).
I use these extensively in my R code because the server is automatically backed up and the path is available offline as well. I tried creating a network shortcut, which resulted in a path like this:
I tried creating a network drive, and that does seem to solve the problem, thanks - I should have tried that earlier. I think I was avoiding because was dreading having to revise all of my files to use network shares, however now I am realizing for Rstudio I just need to open the file from a network share, I don't need to revise any R scripts to use the network share (other than maybe when calling setwd).
Note another side effect of this problem is that Rstudio silently fails to save temporary backups of your R scripts. It is also interesting that R itself has no problem with these paths, even from within Rstudio.