@jonathan and @andresrcs
There are some befit to upgrade if your using 4.1.1(1) or R 4.1.3, and I will be updating the other threads involving the Rstudio saving bug to reflect that.
If there are issues with your Windows build(2) or for some reason your Business One Drive accidently has R 4.2.0 or any R file in %App-Data% and Documents, then in the latest version of R-studio you will get a consistent error message about being unable to locate the file or file permissions. I believe that getting meaningful error codes now try to save/open R files in older versions of R is a success even if a small one
Footnotes (as the details are not directly on topic):
(1)This is a complete aside: My organization found that R 4.2.0 does not function as expected on using Window 10 update build prior to the build published before December 2021. The error codes we got from testing the latest release help us discover that R 4.2.0 does not work on a re-imaged Windows device as is done when we re-issue computer here in county government.
(2) The sister city organization to mine is still having an ongoing issues with R and Rstudio because there city Business Onedrive mapped the entire "Documents" and "%App-Data%" folders to the Onedrive. They were able to at least temporarily patch the issue by making sure bullet 3 in these directions is followed, following the tips to update the path environment variables for older versions of R, and then reinstalling R on newer computers in a location independent of both %App-Data% and Documents.