flexdashboard

Pass reactives to flexdashboard

泪湿孤枕 提交于 2020-06-17 08:14:53
问题 I have a large Shiny app, and I would like to provide the possibility to export a flexdashboard report. Thus, I added a downloadHandler which passes certain params to the flexdashboard. The flexdashboard itself should work without being deployed on a server, thus I do not use the runtime: shiny option. How can I pass reactive values to the flexdashboard? If I do something like params <- list(y = test()) , the report creation breaks. Relevant part of server.R: test <- reactive({ [[SOME STUFF]]

Flex Dashboard not working when I add the world map code in it

戏子无情 提交于 2020-05-31 04:57:45
问题 I have created a flex dashboard using R Markdown in RStudio for 'COVID-19 WORLDWIDE TRACKER'. I have created one line plot, one area plot and 2 column graphs. I want to add a world heat map in it. The data is here: mydata and x. Code is as follows: --- title: "COVID-19 WORLDWIDE TRACKER" output: flexdashboard::flex_dashboard: orientation: rows vertical_layout: scroll runtime: shiny --- ```{r setup, include=FALSE} library(flexdashboard) library(ggplot2) library(plotly) library(readxl) library

Scaling flexdashboard gauge in R

◇◆丶佛笑我妖孽 提交于 2020-05-24 21:25:05
问题 I'm trying to use flexdashboard::gauge , but it is always the same size(doesn't scale) and I don't know how to change it's size. I know there is a way to do this for normal plots using renderPlot and setting for example height . Is there a way to do something similar with renderGauge ? It's my code: --- title: "Test" output: flexdashboard::flex_dashboard: orientation: columns vertical_layout: fill runtime: shiny --- ```{r setup, include=FALSE} library(flexdashboard) library(shiny) library

Automatically resize ggplot2 plots in flexdashboard

时光总嘲笑我的痴心妄想 提交于 2020-05-13 07:35:15
问题 I have a flexdashboard with one frame. Now I came across two problems: First , how can I change the size of the frame title ("Example")? Second , the dashboard automatically resizes in the browser. However, the ggplot2 plot does not. How can I tell flexdashboard, to resize this plot automatically? --- title: "Resize ggplot2 Plots in FlexDashboard" output: flexdashboard::flex_dashboard: storyboard: true theme: lumen social: menu source: embed --- ```{r setup, include=FALSE} require

Integration among Shiny Flexdashboard and shinyAmBarCharts

不打扰是莪最后的温柔 提交于 2020-03-25 18:21:37
问题 I'm trying to insert a shinyAmBarCharts chart within a flexdashboard with Shiny runtime. The final goal would be to use the modifiable chart as an input to other charts/models. So far I've been unsuccessful, because the amBarChart does not render in the dashboard. This is a sample code: --- title: "shinyAmBarCharts" output: flexdashboard::flex_dashboard: orientation: columns vertical_layout: fill runtime: shiny --- ```{r setup, include=FALSE} library(flexdashboard) library(shiny) library

Integration among Shiny Flexdashboard and shinyAmBarCharts

心已入冬 提交于 2020-03-25 18:21:07
问题 I'm trying to insert a shinyAmBarCharts chart within a flexdashboard with Shiny runtime. The final goal would be to use the modifiable chart as an input to other charts/models. So far I've been unsuccessful, because the amBarChart does not render in the dashboard. This is a sample code: --- title: "shinyAmBarCharts" output: flexdashboard::flex_dashboard: orientation: columns vertical_layout: fill runtime: shiny --- ```{r setup, include=FALSE} library(flexdashboard) library(shiny) library

Integration among Shiny Flexdashboard and shinyAmBarCharts

为君一笑 提交于 2020-03-25 18:20:27
问题 I'm trying to insert a shinyAmBarCharts chart within a flexdashboard with Shiny runtime. The final goal would be to use the modifiable chart as an input to other charts/models. So far I've been unsuccessful, because the amBarChart does not render in the dashboard. This is a sample code: --- title: "shinyAmBarCharts" output: flexdashboard::flex_dashboard: orientation: columns vertical_layout: fill runtime: shiny --- ```{r setup, include=FALSE} library(flexdashboard) library(shiny) library

How to fix download button sidebar issue in flexdashboard

给你一囗甜甜゛ 提交于 2020-03-17 08:48:05
问题 I have added a download button to my flexdashboard in the sidebar panel, but it appears in the main panel when I knit the .RMD. Can you please guide me as to how I can fix it? Here's a minimal example of what I'm trying to accomplish --- title: "Download Button in Wrong Panel" output: flexdashboard::flex_dashboard: vertical_layout: scroll runtime: shiny --- ```{r setup, include=FALSE} ## Setting up required libraries library(flexdashboard) library(dplyr) library(shiny) library(knitr) dataset

How to fix download button sidebar issue in flexdashboard

落爺英雄遲暮 提交于 2020-03-17 08:47:48
问题 I have added a download button to my flexdashboard in the sidebar panel, but it appears in the main panel when I knit the .RMD. Can you please guide me as to how I can fix it? Here's a minimal example of what I'm trying to accomplish --- title: "Download Button in Wrong Panel" output: flexdashboard::flex_dashboard: vertical_layout: scroll runtime: shiny --- ```{r setup, include=FALSE} ## Setting up required libraries library(flexdashboard) library(dplyr) library(shiny) library(knitr) dataset

Include table of contents in flexdashboard

不想你离开。 提交于 2020-02-20 06:06:32
问题 I would like to include a table of contents in my flexdashboard document. Exactly like the table of contents we can see in the documentation : http://rmarkdown.rstudio.com/flexdashboard/using.html I have tried to add toc:true as in a classical RMarkdown document but it does not seem to work. --- title: "Reporting" output: flexdashboard::flex_dashboard: orientation: rows vertical_layout: scroll toc: true --- # Page1 Row ----------------------------------------------------------------------- ##