0

I am rendering a table in RMarkdown (ioslides) using pander and pandoc.table but only 6 out of 10 rows are showing. How do I reduce the table size to see all rows?

employee <- c('A','B','C', 'D', 'E', 'F', 'H', 'K','L', 'M')
salary <- c(1, 2, 3,4,5,6,7,8,9,10)
employ.data <- data.frame(employee, salary)
panderOptions('table.split.table', 300)
pandoc.table(head(employ.data), style = "multiline", keep.line.breaks = TRUE, split.table = Inf, size.table = 0.50)

But the table only shows 6 rows in the table, not 10! Can anybody help please? Thank you.

LMHull
  • 77
  • 8

0 Answers0