shinybs

Expand/Collapse Shiny selectInput function

我的梦境 提交于 2021-02-16 09:01:52
问题 I would like to find a resource that would allow my Shiny selectInput function to expand/collapse based on the category headings that I have created. I have searched through some bootstrap resources, but am not yet successful. Please forgive my minimal working example, I acknowledge that there may be more efficient ways to provide a MWE. Thanks for any advice you can offer. library(shiny) library(tidyverse) #create a quick dataset to plot schools <- as.data.frame(table( c('Adams', 'Van Buren'

Expand/Collapse Shiny selectInput function

那年仲夏 提交于 2021-02-16 08:59:45
问题 I would like to find a resource that would allow my Shiny selectInput function to expand/collapse based on the category headings that I have created. I have searched through some bootstrap resources, but am not yet successful. Please forgive my minimal working example, I acknowledge that there may be more efficient ways to provide a MWE. Thanks for any advice you can offer. library(shiny) library(tidyverse) #create a quick dataset to plot schools <- as.data.frame(table( c('Adams', 'Van Buren'

Style individual bsTooltip (shinyBS) elements

假如想象 提交于 2021-01-28 12:18:33
问题 I am trying to add some tooltips to different action buttons in my shiny app through the bsTooltip() function of the shinyBS package, and I would like to modify the width just of a specific tooltip box. To do that, I can specify the HTML tags at the beginning of my UI and modify directly the CSS, but if I use the simple element .tooltip {...} I modify the width of every tooltip in my code: Below you can find a minimal reproducible example with two different action buttons: library(shiny)

reactive radioButtons with tooltipBS in shiny

烂漫一生 提交于 2020-12-01 12:00:02
问题 I want to create a radioButtons widget with tooltip using shinyBS . What I want to achieve is to create one widget with 3 buttons with different info in tooltip . Based on this solution it was created 3 separate radio buttons with different id values. Is it possible to do the same thing but with one radio widget with 3 buttons (i.e. with one id value)? library(shiny) library(shinyBS) ui <- shinyUI( fluidPage( fluidRow( column(3, HTML("<div class='container'><br> <h1>Test</h1> <div> <label id=

reactive radioButtons with tooltipBS in shiny

心已入冬 提交于 2020-12-01 11:57:48
问题 I want to create a radioButtons widget with tooltip using shinyBS . What I want to achieve is to create one widget with 3 buttons with different info in tooltip . Based on this solution it was created 3 separate radio buttons with different id values. Is it possible to do the same thing but with one radio widget with 3 buttons (i.e. with one id value)? library(shiny) library(shinyBS) ui <- shinyUI( fluidPage( fluidRow( column(3, HTML("<div class='container'><br> <h1>Test</h1> <div> <label id=

Shiny: Trigger a popup by clicking a valueBox

半腔热情 提交于 2020-06-10 02:04:55
问题 I want to display a table of data in a pop-up window by clicking on valueBox . The valueBox itself should work as an actionButton . When I click on the valueBox it should render a table in pop-up window as in the picture below. Can anyone help on this code? My code: library(shiny) library(shinydashboard) data <- iris ui <- dashboardPage( dashboardHeader(title = "Telemedicine HP"), dashboardSidebar(), dashboardBody( fluidRow( valueBox( 60, subtitle = tags$p("Attended", style = "font-size: 200%

Shiny: Trigger a popup by clicking a valueBox

坚强是说给别人听的谎言 提交于 2020-06-10 02:04:13
问题 I want to display a table of data in a pop-up window by clicking on valueBox . The valueBox itself should work as an actionButton . When I click on the valueBox it should render a table in pop-up window as in the picture below. Can anyone help on this code? My code: library(shiny) library(shinydashboard) data <- iris ui <- dashboardPage( dashboardHeader(title = "Telemedicine HP"), dashboardSidebar(), dashboardBody( fluidRow( valueBox( 60, subtitle = tags$p("Attended", style = "font-size: 200%

Shiny popover from shinyBS displays every second time only

守給你的承諾、 提交于 2020-05-13 18:50:42
问题 The dynamic popover from shinyBS only turns up on every second selection. library(shiny) library(shinyBS) ui <- fluidPage( sidebarLayout( sidebarPanel( selectInput("poppy", "Think!", c("A", "B", "C", "D")), bsButton("dummy", "dummy")), ## required, dummy mainPanel( helpText("Note that when you select from the box, popover turns up every second time only!") ))) server <- function(input, output, session) { observe({ poppy = paste("You selected ", input$poppy) addPopover(session, "poppy", "Every

Tooltip in shiny UI for help text

百般思念 提交于 2020-01-12 16:11:29
问题 I want to place a help text for check-box label as a tooltip. In the following example I use the shinyBS package - but I only get it to work for the title of the checkbox input group. Any ideas how it could work after the "Lernerfolg" or "Enthusiasmus" labels? library(shiny) library(shinyBS) server <- function(input, output) { output$distPlot <- renderPlot({ hist(rnorm(input$obs), col = 'darkgray', border = 'white') output$rendered <- renderUI({ checkboxGroupInput("qualdim", tags$span(

Tooltip in shiny UI for help text

青春壹個敷衍的年華 提交于 2020-01-12 16:09:35
问题 I want to place a help text for check-box label as a tooltip. In the following example I use the shinyBS package - but I only get it to work for the title of the checkbox input group. Any ideas how it could work after the "Lernerfolg" or "Enthusiasmus" labels? library(shiny) library(shinyBS) server <- function(input, output) { output$distPlot <- renderPlot({ hist(rnorm(input$obs), col = 'darkgray', border = 'white') output$rendered <- renderUI({ checkboxGroupInput("qualdim", tags$span(