title: How to suppress automatic table name and number in an .Rmd file using xtable or knitr::kable?
body: <p>I'd like to name my tables from R scripts without the automatic <code>Table 1:...</code> prefix when using <code>xtable()</code> or <code>knitr::kable()</code> in an .Rmd file. Output is a pdf document.</p>
  
  <p>Here's a reproducible example from an .Rmd file:</p>
  
  <pre><code>---
  title: "Suppress automatic table name and number"
  output: pdf_document
  ---
  
  ```{r myirischunk, results = 'asis', tab.cap = NULL, echo = TRUE}
  library(xtable)
  
  print(knitr::kable(head(iris), caption = "I sure wish it would say Table    1.a"))
  print(knitr::kable(head(iris), caption = "Please stop"))
  print(xtable(head(iris), caption = "Same thing with xtable"))
  ```
  </code></pre>
  
  <p>I've seen similar questions with some suggestions <a href="https://tex.stackexchange.com/questions/140645/selectively-suppress-caption-numbering-when-using-xtable">here</a>, but I can't seem to get it to work in an .Rmd file.</p>