天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

StudyDo

天道酬勤,厚德载物,自强不息,求真务实,动脑动手,孜孜以求

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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()

Viewer

posted on 2021-08-02 16:38  三木人  阅读(36)  评论(0编辑  收藏  举报