Closed xtmgah closed 8 years ago
Can you provide a minimal reproducible example? This means something that we would be able to run and test.
Hello:
Here is the minimal test. I think the app will working only excluded "htmltools::includeHTML("info.html")". Once it included, the figure and table will not rendered. Check it and let me know how to solve it. thanks.
I believe the problem is that the info.html file that you are including is a complete document, with its own
and embedded scripts, which conflict with the ones that Shiny puts in the generated webpage. If you comment out theincludeHTML("info.html")
, everything else works.
You'll need to clean up the info.html file so that it's not a complete HTML document, but one that just has the content that needs to be embedded, or not embed the .html file at all.
OK. that what i am guessing. So, Is there any simple way to clean html files?
You'll have to open it in a text editor and remove all the extra stuff.
Thanks.
Hello, Here is my app, i don't know why ggplot allplot1, allplot2, and table alltbl1 were not rendered, however, after remove (DT::dataTableOutput("alltbl1")) from UI, everything is fine. So, Could you check something wrong or it is a bug from DT or shiny. thanks.
And here is my R session info: