Can't open R scripts

I just installed 2024.09.0 Build 375, and I have suddenly been unable to open R scripts from RStudio. If I go to File -> Open File, navigate to where the script is, and select it, it hangs for a minute or so and then says "The system cannot find the file specified ." If instead I navigate to the file using windows explorer and double click on the script it opens just fine.

I'm using my work computer and trying to access scripts on a shared drive. Any ideas ?

I have the same issue when using Windows network shares (SMB). This is a bug introduced in the latest RStudio release.
It appears to be related to the following commit in RStudio:
Fix file save/load issues in Desktop with certain folder combinations

particularly the normalizeSeparators function in
src/node/desktop/src/core/file-path.ts

now appears to "normalize" the double slash network address prefix to a single slash when loading or saving files.
The open/save dialogs still recognize the network addresses, but the when actually opening or saving scripts (and possibly other files) on a network drive using the double slash or double backslash prefix.

I was only able to cure this by rolling back to an older version of RStudio

Ugh so frustrating that we can't just trust the latest version.

This topic was automatically closed 90 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.