The knitr
is an very useful tool to output a report file.
Generally, I use knitr::kable(cars,format = "html")
to output a html file. In most time, it is not so convenient. I use https://htmledit.squarefree.com/
to help me to handle it.
Today I find kableExtra
is a powerful tool to complement.
kableExtra::scroll_box()
kableExtra::kable_styling()
kableExtra::kable_paper()
kableExtra::kable_classic()
The outputs is below.
knitr::kable(mtcars) %>% kableExtra::kable_paper()
站在巨人的肩膀,去学习