Questions tagged [shinybs]

ShinyBS is Twitter Bootstrap Components for Shiny.

It allows the developer to add Twitter Bootstrap functionality and interactivity to Shiny applications.

109 questions
4
votes
1 answer

Drop down menu with sub category using R and Shiny

I want to create a dropdown menu with sub-categories using R - how is a sub-category supposed to be introduced? `if (interactive()) { ui <- fluidPage( selectInput("variable", "Variable:", c("HTML Code tester", "Font Styler", "CSS3…
Harryy
  • 41
  • 9
4
votes
1 answer

Pop up window after clicking on DT in shiny

I am struggling on getting a pop up window after click on an action button that are inside a Data Table. All the buttons has the same id. Could anyone help me on the example below? Example: rm(list =…
Bruno Silva
  • 425
  • 1
  • 4
  • 7
4
votes
1 answer

Shiny modules namespace outside of UI for javascript links

I am trying to use shiny modules to re-use the UI and server code to present off of three different data sets that share the same presentation. Running into a bit of a challenge dealing with namespace when using javascript based modal popup link…
Gopala
  • 10,363
  • 7
  • 45
  • 77
4
votes
1 answer

shinyBS Modal within checkbox group

I use shinyBS::bsModal() to place explanations of the UI elements there. It works great when I place a bsButton() behind the title of the checkbox. Now I want to place it behind the checkbox options. A first hint could be this answer where the same…
sammerk
  • 1,143
  • 1
  • 9
  • 23
4
votes
2 answers

Use bsModal in the shinyBS package with plotly R plotly_click to generate new plot in pop up

Here is my code for a basic shiny app using plotly_click event to optionally show another plot. I would like that side box plot to render in a modal pop up instead of on the side within the page. library(shiny) library(plotly) df1 <- data.frame(x =…
Gopala
  • 10,363
  • 7
  • 45
  • 77
3
votes
0 answers

shinyBS Popover not working without using bsButton()

I am struggling with a weird behavior of shinyBS-popovers within insertUI(). It seems like the popover is only added if a bsButton() is included somewhere. You can play around with the example below. As soon as you uncomment any bsButton(...), the…
mnist
  • 6,571
  • 1
  • 18
  • 41
3
votes
1 answer

Style individual bsTooltip (shinyBS) elements

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…
nd091680
  • 585
  • 4
  • 15
3
votes
2 answers

single quote in string transforms sliderInput into numericInput when using shinyBS

I want to add tooltips to my action buttons or my sliders with the package shinyBS and a function tipify. I added a text for the "title" argument of the tooltip. However, when my text has an apostrophe (single quote), it gives an error. Which does…
agenis
  • 8,069
  • 5
  • 53
  • 102
3
votes
2 answers

Delaying and expiring a shinyBS::bsTooltip

Is it possible to delay a tooltip and expire after a few seconds? require(shiny) require(shinyBS) shinyApp(ui = fluidPage( shinyjs::useShinyjs(), bsTooltip(id = 'input', title = "Lets delay this appearing for 1s and force disappear after 5s",…
geotheory
  • 22,624
  • 29
  • 119
  • 196
3
votes
2 answers

R Shiny: Present a ShinyBS Modal Popup on page visit (no user action)

I used bsModal successfully in my code before. However, I can't seem to get a modal pop up to show just when the user visits an app's first page by default. I thought something like this would work, but not. Any idea how I can trigger a bsModal on…
Gopala
  • 10,363
  • 7
  • 45
  • 77
3
votes
1 answer

Dynamic popover or tooltip in shinyBS

The idea I have a box() in a shiny app. The box() includes a title argument (which in turn includes an icon) and a selectInput()element. On hoover over the icon I wanted to have a tooltip (using tipify()) or a popover (using popify()) which title…
Siemkowski
  • 1,351
  • 5
  • 15
  • 32
3
votes
1 answer

how can I NOT include bootstrap css in shiny UI

I've got a team who has built plenty with shiny UI (and also shinydashboard) but I'd like to come through and restyle the entire set of apps we've built. I can link to our css in a number of ways, but that's just setting a new css file on top of…
Tyler Lee
  • 31
  • 3
2
votes
2 answers

How to format text using shiny html?

In the example code at the bottom, I'm trying to format the text rendered inside the shinyBS package popify() function as shown in the image below (reduce bullet indentation and right justify the text). I believe this code uses shiny html. How could…
Village.Idyot
  • 1,359
  • 2
  • 8
2
votes
2 answers

Adding a different tooltip to each pickerInput option with shinyBS

I'm trying to add a tooltip to each sub option in a pickerinput dropdown menu. I've tried adapting the function selectizeTooltip from reactive radioButtons with tooltipBS in shiny but I'm afraid I don't know enough to adapt it…
Ainhoa
  • 191
  • 7
2
votes
1 answer

R Shiny valueBox with popover/tooltip

I try to make a popover/tooltip for a valueBox from shinydashboard, but nothing worked so far. I tried to use shinyBS, for example the popify function, but then I get the error Warning: Error in tagAssert: Expected an object with class…
Shairon
  • 23
  • 3