title: How to add more space between columns of knitr::kable() in RStudio notebooks?
body: <p>I want to use function <code>knitr::kable()</code> in an RStudio notebook.
  If column names are short, the spaces between columns are small and it makes information hard to understand (see figure below). It seems that <code>padding</code> does not work in this situation. Is there a way to make spaces between the columns (indicated by yellow arrows) larger in RStudio notebooks?</p>
  
  <pre class="lang-r prettyprint-override"><code>library(magrittr)
  iris %&gt;% 
    setNames(c("A", "B", "C", "D", "E")) %&gt;%
    head() %&gt;%
    knitr::kable(padding = 20)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ED4w3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ED4w3.png" alt=""></a></p>