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

R shinydashboard: specifying div style width argument as percentage to fit a resizeable JS plot

Task: using R and shinydashboard, embed a custom Javascript-generated plot in the dashboard body. Specify width of the plot as percentage, so that the plot occupies its column (or box) regardless of viewer's screen setup. Setup: R (3.5.2), shiny…
Maxim.K
  • 4,120
  • 1
  • 26
  • 43
6
votes
1 answer

How to change colour and font of shiny dashboard title?

How can i change the title of this dashboard title header to be the following : I want it to say Basic DASHBOARD where DASHBOARD is in BOLD, RED FONT and Basic is in the default white font - i also want to adjust the size of the font of DASHBOARD…
user10624646
6
votes
1 answer

How to center table in box in Shiny Dashboard

I'm having difficulty centering a table I made in Shiny Dashboard within a box. I used a .csv file, but here is some fake data: Stage = c("Survey", "Work Sample", "Interview", "Stats Test") Score = c("+33.7%", "+14.8%", "+20.8%", "+28.17%") no1_cand…
skk
  • 175
  • 3
  • 10
6
votes
1 answer

Error in tagAssert Creating a Shiny Dashboard

I'm making a Shiny dashboard, and I'm getting this error: Error in tagAssert(body, type = "div", class = "content-wrapper") : Expected tag to be of type div And I have no idea what it means. Googling gives me nothing. I have my dashboardHeader,…
Avenn
  • 95
  • 1
  • 7
6
votes
2 answers

Add different static colors for sliderbar in shiny dashboard

I am new to shiny. I would like to give static color for the slider bar irrespective of the range selected in shiny dashboard. I want to have different color for slider as follows, Ex: 0 to 40 – red, 40 to 60 – blue, 60 to 100 – green. Please help…
Balaji N
  • 363
  • 1
  • 5
  • 15
6
votes
2 answers

413 request error while using Shiny

I am developing a web application through shiny. I am trying to upload my files using the fileinput() in shiny. I have my code working. I intially tried to upload a file of 1.38KB and worked fine. later when I tried to upload a file approximately…
Mikz
  • 571
  • 2
  • 11
  • 29
6
votes
1 answer

Align header elements in shiny dashboard

I'm working with shinydashboard to jazz up a shiny app a bit and I'm having trouble positioning some elements (eg logo) on the page. I found this answer which was immensely useful in increasing the height of the header, but I can't quite manage the…
JasonD
  • 142
  • 2
  • 10
6
votes
1 answer

R Shiny - Automatically hide the sidebar when you navigate into tab items

I have a Shiny app - simplified example here - and I want the sidebar to hide dynamically when I navigate into tab items. Indeed users will connect to the app mainly with their mobile. With the help of the post Hide sidebar in default in…
Kumpelka
  • 869
  • 3
  • 11
  • 33
6
votes
3 answers

How do you change the color of an icon in an R Shiny app?

I have a Shiny app that uses a couple icons from the Font Awesome library (built-in) in the UI: icon("bolt") icon("compass") How do I change the color of each icon?
Dale Kube
  • 1,400
  • 13
  • 24
6
votes
1 answer

shiny fitting more than three value box in a row

I am developing a test ShinyApp with 7 or 8 valueBox. Everything is working fine except, shiny is adding three valueBox per row. Right now I have three rows on top that is displaying these 7 valueBox. I tried changing the width parameter, and its…
Sundown Brownbear
  • 491
  • 1
  • 5
  • 15
6
votes
1 answer

Reducing space between two box() in R shiny

the given script generates a simple histogram plot and a slider within two boxes. I wish to reduce the space between the two boxes and also between their extreme borders with the ends of the screen. Please help and thanks.snapshot of the plots ##…
Ashmin Kaul
  • 860
  • 2
  • 12
  • 37
6
votes
1 answer

Error: argument "x" is missing, with no default

I am getting an error: argument "x" is missing, with no default Upon debugging, I found this out to be in the line : MyData1<- MyData()[,c(col(),col()+1)] I have tried to pass the argument as a single vector like MyData1<-…
Jojo Acharya
  • 61
  • 1
  • 2
  • 4
6
votes
2 answers

Collapsible box in Shiny App

library(shiny) # Define UI for application that draws a histogram ui <- fluidPage( includeCSS(path = "AdminLTE.css"), #added includeCSS(path = "shinydashboard.css"), #added # Application title titlePanel("Old Faithful Geyser Data"), …
Vasim
  • 3,052
  • 3
  • 35
  • 56
6
votes
2 answers

focusing the cursor in textArea after clicking an action button in shiny

I am not an expert in html or JavaScript by any means. So, I hope for you assistance with this issue. I thought I should provide a smaller version of my app in order to be able to explain the problem. Here is the app.R of a simple app that allows…
mansanto
  • 360
  • 4
  • 16
6
votes
1 answer

How to disable a tabPanel in shinydashboard?

Is there a way to disable a tabPanel until an actionButton is clicked? I tried to do this using shinyjs but that did not work. Currently my ui.R has the following code. I want to disable 'Filter' tabPanel until loadButton is clicked. ` body <-…
Sri Paladugu
  • 131
  • 6