Adding a company Logo to ShinyDashboard header

I’ve been working with a bit of a hack for this, (and I know you didn’t ask for it, but here’s a clickable logo while we’re at it): library(shiny) library(shinydashboard) dbHeader <- dashboardHeader() dbHeader$children[[2]]$children <- tags$a(href=”http://mycompanyishere.com”, tags$img(src=”logo.png”,height=”60″,width=”200″)) dashboardPage( dbHeader, dashboardSidebar(), dashboardBody() ) So this nests a shiny.tag inside the header. The second slot in this … Read more

How do you pass parameters to a shiny app via URL

You’d have to update the input yourself when the app initializes based on the URL. You would use the session$clientData$url_search variable to get the query parameters. Here’s an example, you can easily expand this into your needs library(shiny) shinyApp( ui = fluidPage( textInput(“text”, “Text”, “”) ), server = function(input, output, session) { observe({ query <- … Read more