Guest User

Untitled

a guest
Jun 18th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. library(shiny)
  2. library(bsplus)
  3. library(htmltools)
  4. library(shinydashboard)
  5.  
  6. # UI
  7. ui <-
  8. dashboardPage(
  9. dashboardHeader(title = "Title"),
  10. dashboardSidebar(
  11. use_bs_popover(),
  12. selectInput(
  13. inputId = "letter",
  14. label = "Label with popover help",
  15. choices = c("a", "b", "c")
  16. ) %>%
  17. shinyInput_label_embed(
  18. shiny_iconlink() %>%
  19. bs_embed_popover(
  20. title = "Letter", content = "Choose a favorite", placement ="right"
  21. )
  22. )
  23. ),
  24. dashboardBody(
  25. )
  26. )
  27.  
  28. # Server
  29. server <- shinyServer(function(input, output) {
  30. })
  31.  
  32. # Run the applicationenter image description here
  33. shinyApp(ui = ui, server = server)
Add Comment
Please, Sign In to add comment