【问题标题】:Embeding shiny app in pdf latex (R knitr)在 pdf 乳胶 (R knitr) 中嵌入闪亮的应用程序
【发布时间】:2018-11-06 08:26:26
【问题描述】:

我知道直接将闪亮的应用程序放入 pdf 乳胶是不可能的,但我听说(How to embed an interactive shiny plot in a pdf / presentation? (via knitR maybe) HubertL 的回答)可以通过链接绑定它。有人可以帮我吗?我还没有找到任何关于这个的东西。我正在使用 beamer Madrid (如果重要的话,Idk)。

【问题讨论】:

    标签: r shiny latex knitr


    【解决方案1】:

    您必须先发布 Shiny 应用程序。获得在线应用程序的 URL 后,您可以使用 knitr::include_url() 以非 HTML 输出格式包含应用程序的自动屏幕截图。请参阅https://bookdown.org/yihui/bookdown/web-pages-and-shiny-apps.html 了解更多信息。

    请注意,此功能目前需要 webshot 包和 PhantomJS:

    install.packages("webshot")
    webshot::install_phantomjs()
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-28
      • 2016-01-06
      相关资源
      最近更新 更多