Blank Source window when opening R script

If you open an R script into RStudio and the script appears to be blank, select File -> Reopen with encoding and ensure that the appropriate encoding is selected in the presented Choose Encoding dialog window. You can also make that encoding your default encoding for source files by checking the Set as default encoding for source files checkbox in the dialog window.

To determine the encoding of a text file, I open it in Notepad++ and select Encoding from the menu bar.

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.