Issues saving R script

Hi,

I'm having issues saving my R-script in R studio. Whenever I try to save an existing R script, I get the following error message:

image

If I try to save to a new directory, I'll get the following error message:
Error saving file. The system cannot find the specified file

also, I'm unable to write any csv files and get the following error message:
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file 'test2.csv': No such file or directory

I've gotten this error twice in the past. Suddenly, the issue is resolved without any action but often returns.

Some actions that I've tried were restarting my computer, reinstalling R studio (to the latest version).