rstudio / rmarkdown-cookbook

R Markdown Cookbook. A range of tips and tricks to make better use of R Markdown.
https://bookdown.org/yihui/rmarkdown-cookbook/
578 stars 224 forks source link

kables() function not documented? how to place tables 'bottom to top' instead of side by side? #390

Open r-scotti opened 1 year ago

r-scotti commented 1 year ago

Hello, greatly appreciated book. I am writing to put a general issue while asking a more specific question. 1) I could not find any documentation for the 'knitr::kables()' function. I am trying to guess how it works looking at the code. Is the documentation missing? 2) Using Quarto with format: pdf, I would like to have a couple of tables printed on the same page. Using knitr::kables(list(kable(tab1), kable(tab2))) places the two side by side. The tables are too wide to fit side by side and the rendering halts. I need to print them one above the other. How could I proceed? Many thanks, Roberto