0

This rmd file render ok to html, but the output is empty in shiny. Same problem with other htmlwidets like chartJSRadar

file.rmd:

---
title: "test"
output: html_document 
--- 

```{r}  
rpivotTable::rpivotTable(data.frame(a = c(1:10) ) , rows = 'a'    )
```

the htmlwidget is missing in this shiny app

ui <- shinyUI(
  fluidPage(
    includeMarkdown('file.rmd')
  )
) 
server <- function(input, output) { }  
shinyApp(ui, server)

This question is related to this one

Community
  • 1
  • 1
Eduardo Bergel
  • 2,685
  • 1
  • 16
  • 21

1 Answers1

0

Answering my own question. The code in includeMarkdown is not be executed by knitr.

Eduardo Bergel
  • 2,685
  • 1
  • 16
  • 21