title: Can you change the R default table length when outputting with the DT package?
body: <p>In R DT you can <a href="https://rstudio.github.io/DT/options.html" rel="nofollow noreferrer">define the table control elements</a> with code such as:</p>
  <pre><code># only display the table, and nothing else
  library(DT)
  datatable(mtcars, options = list(dom = 't'))
  </code></pre>
  <p>The <code>t</code> above <a href="https://datatables.net/reference/option/dom" rel="nofollow noreferrer">is a DOM</a>. The DOM element <code>l</code> controls the <a href="https://datatables.net/reference/option/dom" rel="nofollow noreferrer">length changing input control</a>, basically how long your table will be. It looks like this.</p>
  <p><a href="https://i.stack.imgur.com/PC1Vh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PC1Vh.png" alt="show entries selection" /></a></p>
  <p>This <a href="https://datatables.net/reference/option/dom" rel="nofollow noreferrer">length changing input control</a> defaults to a value of 10. How can I change this default value to 25, 100, perhaps even &quot;All&quot;?</p>