d="creating-the-document" class="section level3 hasAnchor" number="8.4.1">
<h3><span class="header-section-number">8.4.1</span> Creating the document<a href="rmarkdown.html#creating-the-document" class="anchor-section" aria-label="Anchor link to header"></a></h3>
<p>In RStudio, we create a new RMarkdown document by clicking on the <em>File</em> tab
and selecting <em>New File</em> &gt; <em>R Markdown</em>.</p>
<div class="figure" style="text-align: center"><span style="display:block;" id="fig:rmarkdown1"></s