Questions tagged [shinydashboard]

shinydashboard is an R package which provides a framework for creating dashboards using R and shiny.

shinydashboard is an R package which builds on top of the shiny package in order to facilitate the creation of interactive dashboards.

Repositories

Stable Version on Cran

2792 questions
9
votes
2 answers

how to insert valuebox inside navbarpage layout?

I'm trying to add valueBox to shiny app created in navbarpage layout, I know that valve boxes are part of the shinydashboard package but this app made me wonder how should I achieve this below is an image of the app, here is the live app here is…
John
  • 183
  • 1
  • 8
9
votes
3 answers

Two sidebars in flexdashboard layout

I would appreciate some css help here. What I am trying to achieve is the following layout. I can easily get to the layout without the right sidebar: --- title: "Title" output: flexdashboard::flex_dashboard: vertical_layout: fill …
deann
  • 756
  • 9
  • 24
9
votes
1 answer

Shiny Modal: Having width adjust automatically to content inside

I am trying to have my modals adjust it's width based on the content inside. Depending on the modal, I will have various length buttons and I would rather not format each modal for this. Below is my code: library(shiny) library…
Kevin
  • 1,974
  • 1
  • 19
  • 51
9
votes
2 answers

How to create On load Event or default event in shiny?

I am new to shiny as well as stackoverflow and looking for some help with a problem that I am currently stuck at. I am trying to build a shiny app which collects some inputs from the user and creates visualization based on inputs on click of a…
WiseChirag
  • 187
  • 2
  • 9
9
votes
1 answer

shiny dashboard mainpanel height issue

This is an extension of my previous question. Now I am not able to extend the height of my main panel. This is my code below library(shiny) library(shinydashboard) library(shinyBS) library(DT) ui <- dashboardPage( dashboardHeader(), …
Sundown Brownbear
  • 491
  • 1
  • 5
  • 15
9
votes
1 answer

Shiny Dashboadpage lock dashboardHeader on top

I use R Shiny Dashboardpage to build my interactive dashboard. I want to lock the dashboardHeader and sidebarMenu so that when scrolling, the header and sidebar remain on the same position. For the sidebarMenu, this can be done in the…
Dendrobates
  • 3,294
  • 6
  • 37
  • 56
9
votes
1 answer

Shiny: Gauge from flexdashboard in Shiny App

Is it possible to embed the gauge from flexdashboard (picture below) in Shiny App (shinydashboard or shiny)? The example code within a Shiny flexdashboard from the flexdashboard website: ```{r} renderGauge({ rate <-…
Mal_a
  • 3,670
  • 1
  • 27
  • 60
9
votes
2 answers

R Shiny - Fixed sidebar and main header in a Shiny dashboard

I have a simplified shiny dashboard (see the code below). I want to fix the sidebar and the main header. So, with the help of other posts here, I write a CSS file to address the problem. .sidebar { color: #FFF; position: fixed; width: 220px; …
Kumpelka
  • 869
  • 3
  • 11
  • 33
9
votes
1 answer

R shinydashboard custom CSS to valueBox

I have been trying to change the color of the valueBox to a custom color (beyond those available in validColors) but have been unable to do so. I understand there is a way of using tags to include custom CSS however I haven't been able to put them…
Stuey.I
  • 133
  • 1
  • 1
  • 6
9
votes
1 answer

Zoom out shiny app at default in browser

When I open my shiny apps I find them look better when I zoom out to 75%. How can I force the shiny app to open at 75%, also on a server? I already tried what they mention in this link but it doesn't seem to work. css: .content-wrapper, .right-side…
Tim_Utrecht
  • 1,459
  • 6
  • 24
  • 44
9
votes
2 answers

Adding scroll to sidebar in flexdashboard

I am designing a UI using Flexdashboard and some of the textinput boxes are going beyond the regular browser window, I have added a line vertical_layout: scroll in my code but I am guessing that is not enough ? So my question is how do I enable…
9
votes
1 answer

Shinydashboard grayed out downloadButton?

How can I fix the download button on this simple example? library(shiny) library(shinydashboard) library(shinyjs) header <- dashboardHeader() sidebar <- dashboardSidebar(shinyjs::useShinyjs(), …
Ignacio
  • 7,646
  • 16
  • 60
  • 113
9
votes
1 answer

Filter one selectInput based on selection from another selectInput?

I have two selectInputs, and I would like the selection in the first one (Brand) to change the possible selections in the second one (Candy). So, for example, if someone chose "Nestle" in the first input box, then only Nestle candy bars will show…
Gary
  • 2,137
  • 3
  • 23
  • 41
9
votes
2 answers

R shiny Dashboard: How to add vertical scrollbar to dashboard sidebar?

I have a couple of questions regarding R shiny Dashboard. ui.R library(shinydashboard) library(shiny) dashboardPage( dashboardHeader(title = 'Test Interface'), dashboardSidebar(width = 600, h3('-------Input Data-------'), …
Komal Rathi
  • 4,164
  • 13
  • 60
  • 98
8
votes
2 answers

Extract filters from R Shiny Datatable

I have a DT data table in R Shiny and I have enabled column filtering by setting filter="top" within renderDT(). I now want to extract the user-applied filters so I can save them in variables server-side and reapply them when -- for instance -- a…
awwsmm
  • 1,353
  • 1
  • 18
  • 28