Create a pdf snapshot of a data.frame or kable output

pdf_table(x, out_name = "test.pdf")

Arguments

x

data.frame or kable output

out_name

character file name

Examples

if (FALSE) {
data(iris)
pdf_table(iris[rep(1:5, 12),])
pdf_table(knitr::kable(iris[rep(1:5, 12),]), out_name = "zz2.pdf")
}