.Rmd files open as completely empty

Viewed 13878

When opening .rmd files in RStudio 3.3.2, they show up as completely empty. There is text if I open using Notepad or if I open on another machine. What is going on?

RMD file in question

3 Answers

In RStudio go to:

  1. Tools
  2. Global Setting
  3. Left hand side "Code" a. under "Saving" - Default text econding: change to UTF-8

save @Richard N mentioned, save the files with "UTF-8" encoding. Will solve the issue. Incase you saved the files without encoding, use the open with encoding option under "Files" tab.

Related