Favicon in Shiny
If you're using a local runapp, then putting one in
/www/favicon.ico should work, I believe.You could also insert this somewhere in your UI:
tags$head(tags$link(rel="shortcut icon", href="URL-to-favicon"))
Joe Cheng
favicon not displaying in Shiny
Im not familiar with the shinyMobile
package, but you can simply add it to the head
tags$head(tags$link(rel="shortcut icon", href="favicon.ico"))
My favicon will not display on a browser tab for my app when using open source shiny server
Try adding inside your dashboardBody
function or in the UI function you are using:
tags$head(tags$link(rel = "shortcut icon", href = "favicon.ico"))
If you have a .PNG file or both, you can use:
tags$head(
tags$link(rel = "shortcut icon", href = "favicon.ico"),
tags$link(rel = "apple-touch-icon", sizes = "180x180", href = "favicon.ico"),
tags$link(rel = "icon", type = "image/png", sizes = "32x32", href = "/favicon-32x32.png"),
tags$link(rel = "icon", type = "image/png", sizes = "16x16", href = "/favicon-16x16.png")
)
adding favicons in golem
The issue I had was saving the .ico file to the /www folder.
keeping the .ico in a folder called /new_favicon and calling golem::use_favicon(path="new_favicon/favicon.ico", method = "curl")
worked!
Display Icon in the title bar of Shiny app page
This should do it:
library(shiny)
ui = shinyUI(fluidPage(
# Application title
titlePanel(
title =
tags$link(rel = "icon", type = "image/gif", href = "https://guidetoiceland.is/image/389003/x/0/the-beautiful-waterfalls-of-south-iceland-seljalandsfoss-skogafoss-amp-gljufrabui-1.jpg"),
"My App"
),
selectInput(
inputId = "Pick",
label = "Chose",
choices = c('A', 'B', 'C'),
selected = NULL,
multiple = FALSE,
selectize = TRUE,
size = NULL,
width = 300
))
)
server = function(input, output, session) {
}
shinyApp(ui = ui, server = server)
Unless I misunderstood your question here is the output. You have to open it in a browser to see it:
Related Topics
Unicode with Knitr and Rmarkdown
Convert Factor to Date/Time in R
How to Find the Indices of the Top 10,000 Elements in a Symmetric Matrix(12K X 12K) in R
Efficient Calculation of Matrix Cumulative Standard Deviation in R
R::Ggplot2::Geom_Points: How to Swap Points with Pie Charts
Delete Entries with Only One Observation in a Group
Two-Way Density Plot Combined with One Way Density Plot with Selected Regions in R
Reset the Graphical Parameters Back to Default Values Without Use of Dev.Off()
Creating Multi Column Legend in Ggplot
Error: Vector Memory Exhausted (Limit Reached) R 3.5.0 MACos
List of Word Frequencies Using R
Using R to Download Gzipped Data File, Extract, and Import Data
Merge Dataframes, Different Lengths
How to Deal with Nas in Residuals in a Regression in R
Time Series Plot Gets Offset by 2 Hours If Scale_X_Datetime Is Used
Convert Integer as "20160119" to Different Columns of "Day" "Year" "Month"