R: Can I include an R markdown file in a shiny ui.R file?

放肆的年华 提交于 2019-12-04 10:11:01

I've had similar problems in the past, and know of two solutions:

  1. pre-compile the .Rmd file and include the markdown or HTML using the functions you've mentioned.

  2. call knitr from shiny within the server.R file (if the document changes due to the shiny app) and then include the compiled HTML/markdown code with includeHTML() or a similar function.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!