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

R Shiny Modules - Can't coerce type 'closure' to vector of type character

New to the Shiny modules environment, and I am trying to work through the setup of a basic scaffold for separating out the tabbed components of the UI and other's from the ui.r and server.r Currently I have the following 4 files: ui.r navbarPage(id…
Jabberwockey
  • 349
  • 1
  • 6
  • 18
5
votes
0 answers

R Shinydashboard remove empty border around graphics

I'm using ggplot2 to create graphics and embed them into a shinydashboard. The goal is to have everything as "transparent" as possible, which involves setting the background in theme as well as renderPlot to the same HEX code as the bacground of the…
Radek Janhuba
  • 193
  • 1
  • 6
5
votes
2 answers

How to extend the background in a shiny dashboard

Here is a small (silly) code of a shiny dashboard application: library(shiny) library(shinydashboard) ui <- dashboardPage( dashboardHeader(), dashboardSidebar(uiOutput("choices")), dashboardBody() ) server <- function(input,output) { …
mumass
  • 53
  • 5
5
votes
1 answer

How to create Custom Shinydashboard skin

I am working on shiny dashboard and want some different color on skin than colors which are available in shiny documentation (skins available in shiny) I want ('#2666cc','rgb(38, 102, 204)') this color on skin. is it possible in shiny…
Gaurav Chaudhari
  • 177
  • 1
  • 2
  • 10
5
votes
1 answer

reset R shiny actionButton to use it more than once

Does someone know how to make actionButton (R shiny) reset to initial value in order to use it more than once? Please find below a reproductible example: In this example, I would like to change the chart color by selecting the corresponding button:…
JeanBertin
  • 633
  • 1
  • 7
  • 23
5
votes
2 answers

ShinyDashboard - Zoom entire browser with CSS

I am trying to implement zoom on my ShinyDashboard as the layout looks better when it is at 80% zoom for the web browser. I found an article on SO for a Shiny app, however, it doesn't work for Shinydashboard. When I implement the CSS, I get a lot of…
Kevin
  • 1,974
  • 1
  • 19
  • 51
5
votes
1 answer

Dynamically colored sliderInput

I have a question that is related to post How to color sliderbar (sliderInput)?. Is it possible to make the sliderInput change its color dependent on the chosen value? I would like to offer the user to input a value from 0 to 10. However, there is…
5
votes
1 answer

Updating a selectInput based on previous selectInput under common server function in R shiny

in the R shiny script below, I am trying to make the functionality such that in the first submenuItem, every selectInput values depend upon the item selection in the previous column. Data is attached and the code is also written. However I am not…
Adam Shaw
  • 519
  • 9
  • 24
5
votes
2 answers

Home Button in Header in R shiny Dashboard

I am trying to add a home button in the header of my Shiny app so that whenever anyone clicks it from any tab, it will redirect to the first page. Currently I am using one actionButton in every tab with observeEvent to go back to first page. I am…
MJ17
  • 109
  • 1
  • 6
5
votes
3 answers

whitespace in R Shiny

I have a problem with text in Shiny Dashboard. I would like to save original text formatting, but shiny removes the whitespaces I want to keep. output$frame <- renderUI({ HTML(paste( p(strong("Name and Surname:"),(" John…
tomsu
  • 371
  • 2
  • 16
5
votes
3 answers

Remove div in shiny app's title

I'm using shinydashboard, and I want to put an image in the title with the following code: header <- dashboardHeader( title = div(img(src = 'logo.png', height = 60, width = 120)) ) Everything goes well, but…
rankthefirst
  • 1,370
  • 2
  • 14
  • 26
5
votes
2 answers

Login Button in shinydashboard dashboardHeader

I'm putting the finishing touches on a shinydashboard. The dashboard uses googleAuthR for authentication via google oauth. Everything is working... but I currently have to put the login button in either the dashboardSidebar or dashboardBody, and I'd…
Jon Harmon
  • 803
  • 1
  • 9
  • 20
5
votes
1 answer

Aligning plots to the center of the box() in R shiny dashboard

the script below creates two plots within two boxes in R shiny dashboard page which are aligned to the right of the box, I wish to align these plots center of the box.These packages are the minimum required packages to create the given plots.…
Ashmin Kaul
  • 860
  • 2
  • 12
  • 37
5
votes
1 answer

Download text and generate txt file in Shiny

I am looking for a way to download text displayed on an app by generation a .txt file. Here is my attempt, with no success unfortunately: library(shiny) ui <- fluidPage( sidebarPanel( h4("Title"), p("Subtitle", …
MaxPlank
  • 185
  • 2
  • 13
5
votes
2 answers

Shiny dashboard margin between boxes

How can I decrease the space between boxes in Shiny dashboard? I have tried the following: .box-body{ margin: 0 !important; padding: 0 !important;} But that seems to add a margin towards the inside of the box. What I want is to reduce the…