Step 1 opens RStudio.
Step 2 creates a new R Markdown document. A new document includes a default metadata section between lines containing three dashes.
This metadata section includes the title and output sections and can, optionally, also specify the author and date.
Step 4 shows you how to generate the HTML document. If running in RStudio, you can indicate the desired output format by selecting the appropriate menu option. However, it is possible to run knitr within a standard R environment; in this case, the output specified in the markdown document determines the format of the output document.
Step 5 shows you how to generate a PDF or Word document based on the markdown document.
Step 6 opens a precreated document that ...