Best table package for .pdf document

Hi guys,

I generally output my reports as Html documents, but this particular time I need a .pdf document. I am looking for the best package with a bit of flair if possible (colors and such). Formattable seems to have problems outputting as a pdf, so I am looking for the next best option, where I won't need to use any workarounds. The code is part of the assignment, so I am trying it to be as reader-friendly as possible.

Thanks!

Have you heard of the pagedown package? https://github.com/rstudio/pagedown/

I find it the easiest way to create PDF reports without using LaTeX. Also, since it's HTML, you can use packages such as gtto create tables. https://github.com/rstudio/gt/

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.

Thanks Joshua!
I ended using a mix of kable(extra) stargazer and xtable (better for some stats reporting than kable) together with bookdown::pdf_document2 and it worked pretty well in the end. I used pagedown template previously for my resume and it worked pretty well, actually. Thx for the suggestion will check next time!