【发布时间】:2020-03-02 03:59:06
【问题描述】:
我在 Rmarkdown 文件中使用DT::datatable 来输出一个包含 58302 行和 6 列的表。根据我阅读的内容,我不能在 Rmarkdown 中使用服务器端处理,所以我必须使用默认客户端来呈现数据表。我收到以下警告,该警告显示在 markdown html 输出中:
Warning in instance$preRenderHook(instance): It seems your data is too
big for client-side DataTables. You may consider server-side processing:
https://rstudio.github.io/DT/server.html
如何禁用它?
【问题讨论】:
-
可以在chunk中设置选项
warning=FALSE。 -
@StéphaneLaurent 你能把这个移到答案吗?
标签: r datatable r-markdown dt