title: How to set df_print to tibble in markdown for a single R code chunk
body: <p>I would like to show, in an rmarkdown document, the printed output of a tibble as shown in the console. i.e. </p>
  
  <ul>
  <li>First line: dimension summary; </li>
  <li>then the column headers; </li>
  <li>then classes of variables; </li>
  <li>then first 10 lines of the tibble;</li>
  <li>then number of rows not shown.</li>
  </ul>
  
  <p>However, by default, tibbles and other data.frame objects are automatically converted to a tabbed, paginated table showing all contents. </p>
  
  <p>I note that the option to turn off this default behaviour can be <a href="https://www.rdocumentation.org/packages/rmarkdown/versions/1.10/topics/output_format" rel="nofollow noreferrer">set for a whole markdown document</a> by changing the <code>df_print</code> option to <code>tibble</code> in the YAML.</p>
  
  <p>However, how do I set the <code>df_print</code> option to <code>tibble</code> for just a single R code chunk, so that I can show in an Rmarkdown document what the user will see on the console?</p>
  
  <p>Thanks,
  Jon</p>