How to rotate a table 90° left

Hi everyone,

I have a very long table with a lot of columns and I would like to rotate it and make for example 3 pages to visualize my table.

Otherwise I have this on the image, many column seems to be out of the page.

I tried landscape() but it seems that it doesn't work... Columns still out of the page...

I've tried many things but I never found the solution.

my code

library(knitr)
library(kableExtra)
landscape(knitr::kable(head(dt, 6)))

Thank you by advance for your help ! :slight_smile:

This topic was automatically closed 21 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.