Why am I receiving an error saving, wrong diskette message?
Asked Answered
F

2

6

I recently updated R and R studio and when I tried to save a file, I received an error message that said:

Error saving (file name). The wrong diskette is in the drive. Insert %2 (Volume Serial Number: %3) into drive %1.

This is the first time seeing this error message and don't know what to do. I cannot 'save as' either.

Thank you for your help.

Faille answered 23/5, 2022 at 8:14 Comment(0)
W
2

Try to reopen the file with encoding and then Save . I tried with UTF-8

Weeping answered 30/6, 2022 at 7:27 Comment(0)
L
1

I found a similar issue, obtaining the same error message. When I saved an already existing file, already open on RStudio, it saved it as an empty file (!). When I tried to save a new file I obtained the error message about the wrong diskette. When I tried to open a file, RStudio didn't import its content (although it was there as seen by opening it in Notebook).

I solved the problem by saving the new file with encoding (File/Save with Encoding...). There I noticed RStudio was using as default ISO-8859-1 rather than my usual UTF-8. I chose UTF-8 and checked the option "Set as default encoding for source files". After that, scripts are opened and saved correctly again.

Lester answered 21/10 at 10:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.