how to split a long table in powerpoint rmarkdown

Issue is I have some long tables that would have to be split into multiple slides programmatically.
So I thought how would I make a function that make the ramrkdown code chunks for the split. in my head I want a code that would make something like

slide

iris %>% head(20)

the "# slide " would make the slide and title and the function below would split the table and then I can juse make this into a function with parameters then it would do the split. literally I want to split the iris into as many slides as possible given I would say a slide wouldn't take more than 14 rows.

Maybe you can do that. You can leverage for-loop or lapply and on the knitr side take a look at

This will allow to pro grammatically create some content.

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