Hi there,
I assume you are trying to save an edited script file (something.R
) to disk.
If you are using a Dell machine this link might be relevant:
https://forum.posit.co/t/rstudio-crashing-when-trying-to-save/35291
Here are several things you can also try that might fix this problem:
-
Try a different destination.
-
Check you are using the latest versions of both R and RStudio suitable for your system (32-bit or 64-bit).
-
Try running RStudio with elevated privileges e.g. "Run as Administrator" on Windows, or SUDO..... on Unix-like.
-
Check whether you have write access to the drive where you are trying to save, and that there is sufficient space on the disk.
-
Check whether your antivirus (security) software is blocking RStudio access.
If this is not successful you will need to post details of your operating system which can be obtained by running this command in the terminal window:
sessionInfo()
HTH