I wanted to add a favicon to my WebApp
I\'m using this line, but it doesn\'t work:
HTML(\"
I was able to get favicon to work in r shiny using this code on both internet explorer and chrome:
ui <- fluidPage(
titlePanel(
windowTitle = "NOAA",
title = tags$head(tags$link(rel="shortcut icon",
href="https://www.noaa.gov/sites/all/themes/custom/noaa/favicon.ico",
type="image/vnd.microsoft.icon")))
###... rest of code
)
server <- function(input, output, session) {
###... rest of code
}
runApp(shinyApp(ui = ui, server = server), launch.browser = TRUE)