title: R: rendering xtable
body: <p>I have an .Rmd file containing:</p>
  
  <pre><code>```{r, echo=FALSE, message=FALSE, results='asis'}
  library(xtable)
  print(xtable(groupGrundALL))  
  ```  
  </code></pre>
  
  <p>Using the "Knit Word" button in RStudio it creates and opens a Word file, but only shows the following text line instead of the intended (rendered) table itself:</p>
  
  <p>% latex table generated in R 3.2.2 by xtable 1.7-4 package % Wed Oct 2111:14:28 2015</p>
  
  <p>When I run in the console...</p>
  
  <pre><code>library(xtable)
  print(xtable(groupGrundALL)) 
  </code></pre>
  
  <p>I get LaTeX code:</p>
  
  <pre><code>% latex table generated in R 3.2.2 by xtable 1.7-4 package
  % Wed Oct 21 11:16:48 2015
  \begin{table}[ht]
  \centering
  \begin{tabular}{rlrrr}
  \hline
  &amp; Retouren.Grund &amp; Wert &amp; Menge &amp; Anzahl \\ 
  \hline
  1 &amp; Fehlbestellung &amp; 685395.00 &amp; 11469.00 &amp; 222 \\ 
  2 &amp; andere &amp; 237581.00 &amp; 4354.00 &amp; 179 \\ 
  3 &amp; Abgelaufene Ware &amp; 129780.00 &amp; 3522.00 &amp; 1077 \\ 
  4 &amp; beschädigte Ware &amp; 37417.00 &amp; 729.00 &amp; 143 \\ 
  5 &amp; Falschlieferung &amp; 9943.00 &amp; 280.00 &amp;  14 \\ 
  6 &amp; nicht abgeholt &amp; 1471.00 &amp; 21.00 &amp;  11 \\ 
  7 &amp; weggezogen &amp; 25.00 &amp; 1.00 &amp;   1 \\ 
  \hline
  \end{tabular}
  \end{table}
  </code></pre>
  
  <p>How can I get the table itself rendered and shown in the Word document?</p>
  
  <p>Thanks a lot for your help!</p>