Problems rendering table using r Markdown, kable and kableExtra
问题 I am attempting to output a latex table using r markdown, kable and kableExtra. I get an error in the table rendering code that is not part of the latex code produced by R. The code: outTab <- m.OutTab %>% kable(format='latex', booktabs=T , #caption = "Population Trend", digits=1, row.names=FALSE, align='lccccc', col.names = names_spaced, escape = FALSE) where "m.OutTab" is an matrix that contains the table to be rendered, The error: Error producing PDF. ! Misplaced \noalign. \addlinespace ->