title: Stargazer not publishing regression table
body: <p>The packages I currently have downloaded are: tinytex, stargazer, and rmarkdown.</p>
  <p>I have used this function to create a publishable table:</p>
  <pre><code>stargazer(EB734_May_2010_model_u)
  </code></pre>
  <p>But got this instead:</p>
  <pre><code>% Table created by stargazer v.5.2.2 by Marek Hlavac, Harvard University. E-mail: hlavac at fas.harvard.edu
  % Date and time: Wed, Sep 02, 2020 - 09:30:46
  \begin{table}[!htbp] \centering 
    \caption{} 
    \label{} 
  \begin{tabular}{@{\extracolsep{5pt}}lc} 
  \\[-1.8ex]\hline 
  \hline \\[-1.8ex] 
   &amp; \multicolumn{1}{c}{\textit{Dependent variable:}} \\ 
  \cline{2-2} 
  \\[-1.8ex] &amp; trust \\ 
  \hline \\[-1.8ex] 
   D\_economy2 &amp; $-$0.220$^{*}$ \\ 
    &amp; (0.119) \\ 
    &amp; \\ 
   D\_economy0 &amp; 0.243$^{**}$ \\ 
    &amp; (0.118) \\ 
    &amp; \\ 
   E\_economy2 &amp; $-$0.166 \\ 
    &amp; (0.112) \\ 
    &amp; \\ 
   E\_economy0 &amp; $-$0.168 \\ 
    &amp; (0.112) \\ 
    &amp; \\ 
   Support\_EMU0 &amp; 0.655$^{***}$ \\ 
    &amp; (0.027) \\ 
    &amp; \\
   Constant &amp; $-$2.038$^{***}$ \\ 
    &amp; (0.148) \\ 
    &amp; \\ 
  \hline \\[-1.8ex] 
  Observations &amp; 18,282 \\ 
  Log Likelihood &amp; $-$22,543.580 \\ 
  Akaike Inf. Crit. &amp; 45,141.170 \\ 
  \hline 
  \hline \\[-1.8ex] 
  \textit{Note:}  &amp; \multicolumn{1}{r}{$^{*}$p$&lt;$0.1; $^{**}$p$&lt;$0.05; $^{***}$p$&lt;$0.01} \\ 
  \end{tabular} 
  \end{table} 
  </code></pre>
  <p>I need to publish the summary for my logistic regression model into word from R.</p>
  <p>Any idea on how to fix this? Thanks. :)</p>