Skip to content
Snippets Groups Projects

REMIND Tutorials

How to use .md or .Rmd files in RStudio

  1. open the file in RStudio (right-click, choose "open with ..." and then RStudio)
  2. for .md files: click "Preview" (upper border of the file window, below "Session" in the Menu Bar). Or press Ctrl+Shift+k for .Rmd files: click "Knit" (upper border of the file window, below "Session" in the Menu Bar). Or press Ctrl+Shift+k
  3. In the window that opens, you can choose "Open in Browser" (up in the Menu Bar)
  4. The html file is saved in the same directory that the original .md or .Rmd file was saved