pixiedust
pixiedust copied to clipboard
Automatically break wide tables
If I have a wide table, it just overflows the paper on latex output. E.g.:
library(pixiedust)
e <- data.frame(dust = 1:5,
random = rnorm(5),
random2 = rnorm(5),
random3 = rnorm(5),
random4 = rnorm(5),
random5 = rnorm(5),
random6 = rnorm(5),
random7 = rnorm(5),
random8 = rnorm(5),
random9 = rnorm(5),
random10 = rnorm(5),
random11 = rnorm(5),
random12 = rnorm(5)
)
(x <- dust(e) %>%
sprinkle_table(round = 2, longtable = 6))
so it would be nice, if pixiedust would support that as well. The only other table package which supports breaking wide tables seems to be pander
I'm researching this. If I can find a simple way to do this for Latex output I can incorporate it. But I haven't found anurging yet.