Contents of .R file will not appear in RStudio but is visible in Tinn and text editor?

The contents of some .R files will not appear in RStudio but is visible in Tinn and text editor. Assuming it has something to do with encoding?

Anyone know a solution?

It seems related to this issue:

Content of .R file deleted after saving - RStudio IDE - RStudio Community

What version of RStudio are you using? This sounds like a bug that was fixed in newer RStudio versions (e.g. 2022.07.2).

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.