You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open any R, Rnw or .md file (and probably others) and it is displayed as being empty.
My particular .Rprofile file does get displayed with content.
Potentially related to (or even solving?) #2231
I am not sure if this is a separate bug (or one at all).
Solution
I changed the line
Encoding: UTF-8
and everything works as expected.
I don't know where the encoding came from, but the project is in a dropbox folder and I may have opened it on my MacBook. Dropbox has no versions tracked for this .Rproj file (for whatever reason) and it is in .gitignore to keep the repo page short, so I can't check.
@brry Thank you for raising this! I haven't been able to reproduce this yet, but I'll try a couple more things. Regarding Encoding: ISO8859-1, this could be if the file was first created on MacOS.
System details
RStudio 2022.02.2+485 "Prairie Trillium" Release (8acbd38, 2022-04-19) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
Steps to reproduce the problem
Create this .Rproj file:
Describe the problem in detail
Open any
R
,Rnw
or.md
file (and probably others) and it is displayed as being empty.My particular
.Rprofile
file does get displayed with content.Potentially related to (or even solving?) #2231
I am not sure if this is a separate bug (or one at all).
Solution
I changed the line
and everything works as expected.
I don't know where the encoding came from, but the project is in a dropbox folder and I may have opened it on my MacBook. Dropbox has no versions tracked for this
.Rproj
file (for whatever reason) and it is in .gitignore to keep the repo page short, so I can't check.The text was updated successfully, but these errors were encountered: