title: R knitr Add linebreak in table header kable()
body: <p>I am using knitr to generate some reports. I use kable to generate an HTML table in the document. In the headers I want to use linebreaks (or other html tags) to enhance the table</p>
  
  <pre><code>&lt;!--begin.rcode results='asis'
  s &lt;- rbind(c(1,2,3,4),c(1,2,3,4),c(1,2,3,4))
  kable(s, col.names=c("Try Newline\nn","Try HTML break&lt;br&gt;%","Past 6 months\nn","\n%"))
  end.rcode--&gt;
  </code></pre>
  
  <p>As you can see I am trying different options without much success. 
  In my result linebreaks (\n) are just translated in a linebreak in the HTML source. <br> tags are translated to HTML special characters.</p>
  
  <p>Any suggestions?</p>