You can add the argument linesep = ""
to kable
. This will be passed on to kable_latex
where it overwrites the default
linesep = if (booktabs) c('', '', '', '', '\\addlinespace') else '\\hline'
Example:
kable(cars, format = "latex", booktabs = TRUE, linesep = "")
More Related Contents:
- knitr/rmarkdown/Latex: How to cross-reference figures and tables?
- Set margin size when converting from Markdown to PDF with pandoc
- Subfigures or Subcaptions with knitr?
- Align multiple tables side by side
- Code chunk font size in Rmarkdown with knitr and latex
- Can Sweave produce many pdfs automatically?
- possible to create latex multicolumns in xtable?
- How to stop bookdown tables from floating to bottom of the page in pdf?
- Run Sweave or knitr with objects from existing R session
- R: why kable doesn’t print inside a for loop?
- Automatically adjust LaTeX table width to fit pdf using knitr and Rstudio
- Tools for making latex tables in R [closed]
- Difference: “Compile PDF” button in RStudio vs. knit() and knit2pdf()
- Figure position in markdown when converting to PDF with knitr and pandoc
- Getting LaTeX into R Plots
- Rstudio rmarkdown: both portrait and landscape layout in a single PDF
- How to convert R Markdown to HTML? I.e., What does “Knit HTML” do in Rstudio 0.96?
- How to source R Markdown file like `source(‘myfile.r’)`?
- Using stargazer with Rstudio and Knitr
- Programmatically creating Markdown tables in R with KnitR
- R knitr Markdown: Output Plots within For Loop
- knitr gets tricked by data.table `:=` assignment
- install.packages fails in knitr document: “trying to use CRAN without setting a mirror”
- How to hold figure position with figure caption in pdf output of knitr?
- generate markdown comments within for loop
- R Knitr PDF: Is there a posssibility to automatically save PDF reports (generated from .Rmd) through a loop?
- Programmatically insert header and plot in same code chunk with R markdown using results=’asis’
- Wrap text around plots in Markdown
- How to add Latex code in ggplot2 legend labels?
- Create parametric R markdown documentation?