简体   繁体   English

比较Shiny / rmarkdown :: render_site()和flexdashboard

[英]Comparison Shiny / rmarkdown::render_site() & flexdashboard

A high level question from someone new to the activity of building websites based on R code: 刚接触基于R代码的网站活动的某人提出了一个高级问题:

I am trying to understand the relationship between Shiny and the facilities offered by rmarkdown to render interactive and/or web content (eg, using rmarkdown::render_site() , flexdashboard ). 我试图了解Shiny和rmarkdown提供的呈现交互式和/或Web内容的功能之间的关系(例如,使用rmarkdown::render_site()flexdashboard )。

What triggered this question is reading on the rmarkdown documentation that: 触发此问题的原因是在rmarkdown文档中阅读rmarkdown内容

R Markdown documents are a perfect platform for interactive content. R Markdown文档是交互式内容的理想平台。

Plus seeing these great dashboards made with flexdashboard . 加上看到这些flexdashboard制成的出色仪表板

To navigate the various options available to building websites based on R code, I would like to know: 为了导航可用于基于R代码构建网站的各种选项,我想知道:

  1. how Shiny articulates with the capabilities offered by rmarkdown ? Shiny如何与rmarkdown提供的功能相rmarkdown

  2. how Shiny programming compares, in terms of ease/scalability/flexibility, with rmarkdown / flexdashboard ? Shiny编程在易用性/可扩展性/灵活性方面与rmarkdown / flexdashboard如何?

I have done a fairly big shiny app and want to know whether I should try to migrate to eg, flexdahboard . 我已经做了一个相当大的shiny应用程序,想知道我是否应该尝试迁移到flexdahboard

Shiny came first, and after a while they added some of shiny's capabilities to markdown. 首先是Shiny,不久之后,他们在markdown中添加了Shiny的一些功能。 In order to use interactive markdowns, notice that you need to use runtime: shiny which means that it DOES need shiny to run on the backend, it's no longer than a pure standalone HTML document. 为了使用交互式降价,请注意,您需要使用runtime: shiny ,这意味着它确实需要Shiny才能在后端运行,它只不过是一个纯独立的HTML文档。

However, what I just said doesn't explain anything about what you asked, just wanted to point that out! 但是,我刚才所说的内容并不能说明您的要求,只是想指出一点! This is indeed a great question, and there is an open issue on shiny's github to try to explain the difference between them, and other similar formats, because I agree it's very overwhelming to see all these options and have to choose which one to go with. 这确实是一个很好的问题, shiny的github上有一个未解决的问题 ,试图解释它们与其他类似格式之间的区别,因为我同意看到所有这些选项并必须选择要使用的选项是非常压倒性的。 Just to add to the complexity - you can in fact write/embed shiny apps inside Rmd documents :) 只是增加了复杂性-实际上,您可以在Rmd文档中编写/嵌入闪亮的应用程序:)

(I couldn't submit this as a comment because it's too long) (我无法提交此评论,因为它太长了)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 rmarkdown::render_site() rmarkdown::render_site() 错误:未找到站点生成器 - rmarkdown::render_site() Error in rmarkdown::render_site() : No site generator found 闪亮的输出和R MarkDown render_site() - Shiny output and R MarkDown render_site() 在块中生成的图不会与 rmarkdown::render_site() 一起出现 - Plots generated in chunk don't appear with rmarkdown::render_site() bookdown::render_book 与 rmarkdown::render_site 构建所有输出 - bookdown::render_book vs. rmarkdown::render_site to build all outputs 在 Rmarkdown 中使用 Shiny 创建反应式 selectInput - flexdashboard - Create reactive selectInput - flexdashboard with Shiny in Rmarkdown 直接在 ggplot aes 中的闪亮输入变量(RMarkdown flexdashboard) - Shiny input variable directly in ggplot aes (RMarkdown flexdashboard) Rmarkdown flexdashboard valueboxes 在 Chrome 或 IE 中无法正确呈现(但在 FireFox 中工作) - Rmarkdown flexdashboard valueboxes do not render properly in Chrome or IE (but work in FireFox) 带有 shiny 元素的 Rmarkdown - 在本地呈现 html - Rmarkdown with shiny elements - issue to render html locally 如何*不*渲染Shiny Server上的rmarkdown(.Rmd)文件 - How to *not* render rmarkdown (.Rmd) files on Shiny Server gganimate 和 plotly 不使用 shiny 应用程序在 rmarkdown 上呈现 - gganimate and plotly do not render on rmarkdown with shiny app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM