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

How to require user authentication in R Shiny before users see any part of the app using shinyauthr?

I have a R Shiny app that I want users to authenticate themselves before they see anything, including the main panel and every tab. I know I could use "req(credentials()$user_auth)" before each item, but that seems like overkill for even my main…
J.Sabree
  • 2,280
  • 19
  • 48
7
votes
0 answers

Modifying shinyauthr for a flexdashboard

I have built an interactive flexdashboard that uses a runtime shiny and I would like to create a user authentification login module/page. I stumbled across Paul Campbell's shinyauthr package which seems to do this but for a shiny dashboard, I would…
7
votes
1 answer

How to use plotly in R shiny

I am trying to add graph for the output which i have generated using shiny. I am getting error for graph generation. Can someone please have a look and assist. The bar graph parameters are calculation based outputs generated from…
mayank14
  • 117
  • 1
  • 2
  • 6
7
votes
1 answer

How to expand/collapse the shiny dashboard sidebar on mouse hover?

Within a Shiny Dashboard, I would like that mouse hover the mini-sidebar expands it. When mouse leaves the sidebar it then collapse automatically in its original state (mini-sidebar). The closest answer I get right now is by using the…
yeahman269
  • 705
  • 7
  • 16
7
votes
1 answer

Shiny App not deploying: Error pushing repository: 504 Gateway Time-out Execution halted

I've rerun my app several times without a problem, but am recently getting an error and can't deploy my app. It is able to run on my local desktop though so I know the Preparing to deploy application...DONE Uploading bundle for application:…
7
votes
2 answers

picture as a background of shiny dashboard

I would like to change background in my shiny dashboard App. I wound in internet function setBackgroundImage (https://rdrr.io/cran/shinyWidgets/man/setBackgroundImage.html). The problem is that I don't know were I should put that function in my app.…
dasti74
  • 219
  • 3
  • 11
7
votes
2 answers

Collapse Left Sidebar fully in ShinyDashboardPlus

ShinyDashboardPlus has a feature where the left sidebar menu collapses but still shows the icon. The issue with this is, it doesn't hide any buttons or input selections placed in the sidebar. I am looking for either the below 2 solutions: 1) To…
Kevin
  • 1,974
  • 1
  • 19
  • 51
7
votes
1 answer

R shiny future: plan(multiprocess)/plan(multicore) + Kill long running process

I am writing this to seek some help in using plan(multiprocess) or plan(multicore) and killing long running processes in my shiny app. The app has multiple future events (long running processes) that run on clicking their corresponding actionButton.…
chas
  • 1,565
  • 5
  • 26
  • 54
7
votes
1 answer

Loading shiny module only when menu items is clicked

Background Within a modular1 Shiny application, I would like to load module only when menu item on shinydashboard is clicked. If the menu item is not accessed I wouldn't like to load the module. Basic application app.R #…
Konrad
  • 17,740
  • 16
  • 106
  • 167
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

Place button next to selectInput

Goal I want to place a selectInput and an actionButton side by side in the footer of my shinydashboard::box. The button should be "relatively close" to the selectInput irrespective of the width of the box. What I have tried so far So far I tried…
thothal
  • 16,690
  • 3
  • 36
  • 71
7
votes
2 answers

To enable and disable sidebar toggle button using a action button

I am looking for a code snippet using which, I can enable/disable sidebar toggle button in shinydashboard header. library(shiny) library(shinydashboard) library(shinyjs) ui <- shinyUI(dashboardPage( dashboardHeader(), dashboardSidebar(), …
kawsleo
  • 560
  • 4
  • 23
7
votes
1 answer

How to correctly output Plotly plots in shiny?

I am trying to make a shiny app based on New York crime historical data. I am using single shiny page approach. Here's the data: https://data.world/data-society/nyc-crime-data For some reason when I select the year to output the crime statistics, my…
Scott Grammilo
  • 1,229
  • 4
  • 16
  • 37
7
votes
1 answer

Show dataTableOutput in modal in shiny app

Great R community, I am just wondering if it is possible to show DT::dataTableOutput in a modal with the push of an action button. For example, data table output as something like following. Here is a some code to begin with: ## app.R…
M.Qasim
  • 1,827
  • 4
  • 33
  • 58
7
votes
3 answers

How to code a Sidebar collapse in shiny to show only icons

If you are familiar with the shiny website, you'll notice that when you press the button to collapse the sidebar, it's showing bigger icons (but not completely hiding the sidebar. Do you know how is this possible to code this? I heard that the…
M. Beausoleil
  • 3,141
  • 6
  • 29
  • 61