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
8
votes
1 answer

Get the user's current date and time in R/Shiny

I am building a shiny app and hosting it on the server. There are date and time inputs. The default value is Sys.Date(). Now when the user accesses it, the default value is taken as server date and time rather than the users. Please tell me how can…
Rohit Kumar Singh
  • 647
  • 1
  • 7
  • 17
8
votes
1 answer

How to get list of all output elements in R Shiny

How the get a list of reactive output elements? what works without problems is: observe(print(reactiveValuesToList(input)) ) what doesn't work for reasons i don't understand is: observe( print(reactiveValuesToList(output)) ) For a large complex…
Mark
  • 2,789
  • 1
  • 26
  • 66
8
votes
2 answers

render a shinydashboard infobox... without shinydashboard

I work on a Shiny application that is built on the standard layout (fluidpage(), I cannot change this), and I need to display some reactive KPIs to the user, which color , icon and text depend on the results of some computations. The ideal format…
agenis
  • 8,069
  • 5
  • 53
  • 102
8
votes
2 answers

add a scrollbar to a box in shiny

I have implemented a box on R shiny dashboard page using box() function, it loads the table and represents a column full of population numbers. However the numbers overshoot the table and it looks very bad. I wish to add a scrollbar to the box such…
AK94
  • 325
  • 1
  • 5
  • 11
8
votes
0 answers

R Shiny error "X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 9 could not be loaded"

I am programming in R and trying to display a plot using ggplot. But I am getting a: Error: X11 font -adobe-helvetica-%s-%s---%d-------*, face 1 at size 9 could not be loaded I am running on Ubuntu 16.04 Error Image
Anand
  • 81
  • 2
8
votes
3 answers

Starting Shiny app after password input (with Shinydashboard)

In this topic is well explained how to start the shinyapp after some password input. I am trying to do the same, but instead of "navbarPage", I would like to have a "dashboardPage". I tried to change the argument in do.call function form…
Adelmo Filho
  • 386
  • 1
  • 2
  • 11
8
votes
1 answer

Changing menu icon in shiny dashboard

The following css style corresponds to the menu icon in a shiny dashboard. I want to change it. I tried with tags$head(tags$style.. in the body, but it didn't work. Any ideas? .main-header .sidebar-toggle:before { content: "\f0c9"; }
Ferroao
  • 3,042
  • 28
  • 53
8
votes
2 answers

Shiny + CSS: Aligning actionButtons in shinydashboard sidebar

I am trying to place some actionButtons in a shinydashboard sidebar, and need to style them to be centered within the sidebar and horizontally distributed within the space that is allocated to them. Here is an MWE:…
tchakravarty
  • 10,736
  • 12
  • 72
  • 116
8
votes
2 answers

legend labels not displaying inline when using labels and colors in leaflet map on shiny

When i want to use labels and colors parameters with addLegend() function inside a shinyAppthe legend is displayed in staircase as you can see below. But if i render the map only with leaflet outside of the shinyAppthe labels are correctly displayed…
Christophe D.
  • 1,089
  • 11
  • 21
8
votes
2 answers

R shinydashboard dynamic menu selection

I have created dynamic sibebar menus in R shinydashboard. Even though I use selected = TRUE, no menuItem associated with a menu gets selected at startup in this dynamic mode. How can I make sure I have control on which menuItem's contents is shown…
Servet
  • 267
  • 3
  • 12
8
votes
2 answers

R Shiny app progress Indicator for loading data

Shiny is our internal BI tool. For our Shiny apps, we load data before shinyServer running: load("afterProcessedData.RData") # or dt = fread("afterProcessedData.csv") shinyServer(function(input, output, session){ ... However, some of apps are…
Z. Zhang
  • 501
  • 8
  • 20
8
votes
1 answer

Different pages in Shiny App

I want to have different pages in my shiny dashboard. First of all I created a login page to give authentication to user and admin. After that if admin login to system want to see some options that the user cannot access to them. Question: when I…
user
  • 592
  • 6
  • 26
8
votes
2 answers

R Shiny can you have a navigation bar AND have a fluid page layout

I would like to create a shiny app with a navigation bar BUT ALSO be able to configure the layout on the page using fluid row() and fluid Column(). I read the "NAV BAR PAGES" and "FLUID GRID SYSTEM" areas here…
user3022875
  • 8,598
  • 26
  • 103
  • 167
8
votes
1 answer

Tab Box CSS for shinydashboard

I'm trying to change the tab style for tabBox in shinydashboard. I was able to change the background of the tabs that aren't selected, but I can't change the background of the tab that is selected or the text that appears in each tab. This is what…
stat_student
  • 787
  • 10
  • 17
8
votes
2 answers

datatable does not render in Shiny Dashboard

The datatable does not render in a Shinydashboard. It just renders a thin white strip for the box. Running only the datatable function in RStudio renders the datatable in the RStudio viewer. So what the correct way to render a DT datatable in a…
Tim Child
  • 2,994
  • 1
  • 26
  • 25