Saving my R file after editing it

When I try to save some changes to my R file, I touch the >file >save buttons. A pop-up window appears with an error message "The system cannot find the file specified" . Does this mean that my work can't be saved? How can I fix this?

I do not know how to fix that error from within RStudio but the first thing I would do is copy all of the text in the file, paste it into a plain text editor and save that file (with a new name) using the .R extension. If you are on Windows, you can use NotePad. If you are sure you will not lose any other work, you can then close and restart RStudio. The content of the file you were trying to save will be preserved in the file made from NotePad.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.