Howto include js dependencies of DT datatable in Rmarkdown using knitr and pandoc

只愿长相守 提交于 2019-12-04 16:41:06

The package RStudio is using under the hood is rmarkdown. It handles the Knit command and delegates work to knitr and pandoc, and it's also responsible for bundling dependencies and injecting them into the doc.

You likely already have the package installed, so you should be able to do this to produce your HTML file in one go:

rmarkdown::render('example.Rmd')

More resources:

RMarkdown on CRAN

RMarkdown Introduction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!