Questions tagged [flexdashboard]

An Easy interactive dashboards for R.

Flexdashboard is a package developed by the RStudio team that enables individuals to easily create flexible, attractive, interactive dashboards with R. Authoring and customization of dashboards is done using R Markdown and can optionally include Shiny components for additional interactivity.

Reference and documentation: http://rmarkdown.rstudio.com/flexdashboard/

832 questions
7
votes
1 answer

Shiny modularized inputs inside pop-up modal aren't being written to reactiveValues when dismissed [flexdashboard/shinydashboard]

As a minimally-viable example, I modularized the basic example from here: https://rmarkdown.rstudio.com/flexdashboard/shiny.html#simple_example Code snippet (copy-paste, run as .Rmd in RStudio should do the trick): --- title: "stackoverflow…
Ray
  • 3,137
  • 8
  • 32
  • 59
7
votes
1 answer

resizing Flex dashboard gauge within a shiny app

Is there a way that i can make a flexdashboard gauge bigger in my shiny app? I have tried to change the width and height in the UI but that just moves it around on the dashboard. It doesn't make it…
MoKG
  • 266
  • 3
  • 13
7
votes
1 answer

Flexdashboard doesn't work with Shiny URL state

I am trying to combine flexdashboard with Shiny state bookmarking. When used alone (example from the docs) Shiny app works fine, but when put in flexdasboard, url is not updated: --- title: "Untitled" output: flexdashboard::flex_dashboard: …
user8954262
  • 138
  • 6
7
votes
1 answer

pandoc document conversion failed with error 1 after update to R version 3.4.2

After updating to R Version 3.4.2 my flexdashboard documents with shiny do not work anymore. Even if I try to run a copy of that example https://jjallaire.shinyapps.io/shiny-biclust/ I got that 'Error: pandoc document conversion failed with…
Ron
  • 383
  • 1
  • 4
  • 14
7
votes
0 answers

Shiny App - googleAnalyticsR causing flexdashboard gauges to lose colors

I am having a problem with my Shiny App, specifically a problem between flexdashboard gauges and googleAnalyticsR. When I initially load the app with the values pre populated, the gauges appear with the appropriate color. However, immediately after…
sdhaus
  • 1,866
  • 13
  • 20
7
votes
0 answers

R flexdashboard and log-in form

I have a flexdashboard, which is not hosted on a server and I use it as a local html file. However, I need the content of the HTML to be password protected. I know i can use win-zip, but I was wondering if it would be possible to integrate a simple…
Prometheus
  • 1,977
  • 3
  • 30
  • 57
7
votes
3 answers

How to extend the renderTable width in Shiny flexdashboard

I have the following self containing Shiny-Flexdashboard: --- title: "FOO" runtime: shiny output: flexdashboard::flex_dashboard: vertical_layout: scroll orientation: rows theme: default --- ```{r setup,…
neversaint
  • 60,904
  • 137
  • 310
  • 477
7
votes
4 answers

Data Table Output not scrollable in Y direction

I have data I wish to show in a flexdashboard in R. I build the datatable with DT::renderDataTable({DT::datatable(data(), options=list(scrollX=TRUE))}) This works just fine when showing something like 10 entries, but when I select the option to…
nate
  • 1,172
  • 1
  • 11
  • 26
6
votes
1 answer

how to change up arrow (green color) or down arrow (red color) or a dash (black color) in the flexdashboard

I have a the following sample code for flexdashbard in R: --- title: "My Dashboard" runtime: shiny output: flexdashboard::flex_dashboard: orientation: rows vertical_layout: fill always_allow_html: yes --- ```{r init, include=FALSE,…
LeMarque
  • 733
  • 5
  • 21
6
votes
1 answer

How to have another row in my Flexdashboard if I'm using {.tabset}? R

Here is how my dashboard template looks. I have a {.tabset} to show two different tables for Dec 2020 & Jan 2020. But the table is not as long as the area generated and really only reaches half of it. My desired ouutput would be something like…
RL_Pug
  • 697
  • 7
  • 30
6
votes
3 answers

Selecting a default value in an R plotly plot using a selectize box via crosstalk in R, using static html not shiny

In an Rmarkdown html document, how does one select a default value for a crosstalk::filter_select dropdown that will work with plotly plots? E.g., in the example below, to have just group 'a' selected when the RMD is knitted. I know that for the…
FelixST
  • 303
  • 2
  • 8
6
votes
2 answers

Change second tabset on click in flexdashboard

I'm working on a self-contained flexdashboard project and I'm wondering if it's possible when a user clicks to a new tab in one tabset, it changes to a new tab on a second tabset as well. So for example, when you click on "Chart B1" below, I would…
mfherman
  • 392
  • 4
  • 16
6
votes
1 answer

How to plot plotly gauge charts next to each other?

It seems like plotly gauge charts are not compatible with subplot because I end up with two gauge charts on top of each other. library(plotly) fig1 <- plot_ly( domain = list(x = c(0, 1), y = c(0, 1)), value = 270, title = list(text =…
SRL
  • 145
  • 9
6
votes
0 answers

plots not showing in flexdashboard tabs

When I render the flexdashboard the plotly chart only shows on the first tab, and not on the remaining tabs. The reproducible example below uses the flexdashboard example for .tabset use. I am running R 3.6.1 I have used plotly and tabset in the…
6
votes
1 answer

How to render a flexdashboard to PDF without "Row" and "Column" headers

I have a flexdashboard R markdown file which nicely renders the required dashboard. I am also producing a PDF version of the dashboard for some users who require print-outs and I want to make sure I can do this from the same script by calling the…
joshpk
  • 729
  • 4
  • 11
1 2
3
55 56