Building on CL.'s answer here you could also use kable
's linesep
argument with '\addlinespace' (or similar arguments from Latex' booktabs
). Like so:
linesep = "\\addlinespace"
Your example:
kable(head(iris, 5),
"latex",
caption = 'Iris Table',
booktabs = T,
linesep = "\\addlinespace") %>%
kable_styling(latex_options = "striped")
I think that \arraystretch
changes line spacing for the entire table including headers, notes etc. whereas linesep
controls only the line spaces for the table body. That way you also wouldn't have to introduce custom Latex code into your Rmarkdown document.