RStudio will not close

When I was new to RStudio, I'm afraid I was saving too fast and messed up. Now when I try to close an r file I get the message "The system cannot find the path specified", and I cannot get out.

Is there a way to save the file so I can close normally? Thanks for your help.