【发布时间】:2021-02-16 07:19:53
【问题描述】:
实际行为 - 剪辑
我正在使用带有 flexdashboard 的 R DT 包。当我将文本添加到 DT 表的正文时,仪表板的底部被剪裁(不同程度)。见下文。
---
title: "With text in the body the bottom is clipped"
output: flexdashboard::flex_dashboard
---
Notice at the bottom that "Showing X entries" and "Previous/Next" are both clipped
```{r}
library(DT)
datatable(mtcars)
```
预期行为 - 无剪辑
如果我从表格正文中删除文本,一切都会按预期运行。但我想要我的正文¯_(ツ)_/¯。怎么办?
这是我应该报告的错误,还是有其他我不知道的解决方案?
---
title: "Without text in the body nothing is clipped"
output: flexdashboard::flex_dashboard
---
```{r}
library(DT)
datatable(mtcars)
```
版本信息:
other attached packages:
[1] DT_0.16 flexdashboard_0.5.2
【问题讨论】:
标签: r r-markdown knitr dt flexdashboard