ÑÇÖÞÇéÉ«

print friendly version

Questions and answers

2883
Creating R Markdown and Notebook documents in R Studio on Campus Computers


This is the recommended procedure to create a Markdown document in R Studio on university computers.

  1. Open R Studio
  2. In the Toolbar click File > New File > R Markdown
  3. In the dialog box, enter a Title and Author
  4. Leave the Default Output Format as HTML
  5. Click OK
  6. You should now see a markdown document in R Studio
  7. Edit the following in the document
    1. Add a Colon (:) to the 'html_document' line

    2. Tab indent the 'html_document:' line
    3. Add a line that reads 'self_contained: no'
    4. The 'self_contained: no' line should be double tab indented

Your document should look like this:

R Markdown

Help us to improve this answer

Please suggest an improvement
(login needed, link opens in new window)

Your views are welcome and will help other readers of this page.

Categories

This is question number 2883, which appears in the following categories:

Created by Mark Wilson on 3 October 2018 and last updated by Mark Wilson on 3 October 2018