In RStudio I create a new script file, then I click on Save As. The result of that process is the following error:
Executing getwd() in the project session produces "D:/R Projects/bwren/analysis"
It appears to me that the space between R and Projects is tripping things up. I recently reinstalled things on this computer, and previously had no issue saving new scripts to the same directory.
When i create a blank file or copy the script to the clipboard and save it externally to R, in the same getwd() path, i can read and save normally.
Am using latest R, RStudio and a fully updated Windows 11.