此 rmd 文件可以正常渲染为 html,但输出为空。与 chartJSRadar 等其他 htmlwidets 相同的问题
文件.rmd:
---
title: "test"
output: html_document
---
```{r}
rpivotTable::rpivotTable(data.frame(a = c(1:10) ) , rows = 'a' )
```
这个闪亮的应用程序中缺少 htmlwidget
ui <- shinyUI(
fluidPage(
includeMarkdown('file.rmd')
)
)
server <- function(input, output) { }
shinyApp(ui, server)
这个问题与这个有关