title: How to export RMarkdown file to HTML document with two columns?
body: <p>I am putting together an R Markdown HTML page for some new R users at my work to give them an introduction and walk them through some simple demos.</p>
  <p>While showing off things like <code>head</code> and <code>tail</code>, it ends up looking messy and long because it prints out each output one after the other. I would like them as long as other sections of my .Rmd to be split into two columns.</p>
  <p>In my research, I came across this <a href="https://stackoverflow.com/questions/19237190/2-column-report-in-r-markdown-render-html-aside-data-frame">question</a>. There was some discussion of workarounds with HTML code I did not understand.</p>
  <p>I did try including:</p>
  <pre><code>&lt;div class=&quot;columns-2&quot;&gt;   
  &lt;/div&gt;
  </code></pre>
  <p>from the official <code>rmarkdown</code> documentation, but it did not have any effect.</p>
  <p>As I was ready to give up, there was a comment on the Stack Overflow question by @Molx saying that you can separate columns with <code>***</code>, but it did not give any further explanation. I tried it out in a few ways: I included the <code>***</code> in the middle of my R code chunk, I separated my R code chunks and put the <code>***</code> between the two. When I did the latter, the <code>***</code> simply became a horizontal rule and did nothing with columns.</p>
  <p>I am hoping to avoid tables and CSS if possible.</p>