R 在闪亮的应用程序右侧嵌入图像徽标

R 在闪亮的应用程序右侧嵌入图像徽标,r,shiny,shinyapps,R,Shiny,Shinyapps,我有下面的标志,我想把它嵌入我的闪亮的应用程序在右边。我正在尝试stackoverflow的一些代码,但我不能 我想要徽标和特定站点的链接,我的应用程序想要如下所示: ui <- navbarPage( theme = "estilo_bdd.css", "Observatorio de Movilidad, Infancia y Familia", tabPanel( title = "Encuesta Conti

我有下面的标志,我想把它嵌入我的闪亮的应用程序在右边。我正在尝试stackoverflow的一些代码,但我不能

我想要徽标和特定站点的链接,我的应用程序想要如下所示:

ui <- navbarPage(
  theme = "estilo_bdd.css",
   "Observatorio de Movilidad, Infancia y Familia",
  tabPanel(
    title = "Encuesta Continua de Hogares",
    value = 'borelito',
    tabsetPanel(
      type = "pills",
      id   = "tabset",
      tabPanel(
        "Caracterización sociodemográfica",
        br(),
        sidebarPanel(
          style = "position:fixed;width:30%;",
          selectInput(
            "indicador_csd",

我的应用程序是这样启动的:

ui <- navbarPage(
  theme = "estilo_bdd.css",
   "Observatorio de Movilidad, Infancia y Familia",
  tabPanel(
    title = "Encuesta Continua de Hogares",
    value = 'borelito',
    tabsetPanel(
      type = "pills",
      id   = "tabset",
      tabPanel(
        "Caracterización sociodemográfica",
        br(),
        sidebarPanel(
          style = "position:fixed;width:30%;",
          selectInput(
            "indicador_csd",

ui也许您正在寻找这个。您可能需要调整边距和填充

ui <- navbarPage(
  tags$li(div(img(src = 'YBS.png', title = "A Test", height = "30px"),
              style = "margin-left:1100px; margin-top:-25px; padding-top:-50px; padding-right:10px;"),
          class = "dropdown")
  )

server <- function(input, output, session) {}

shinyApp(ui, server)
ui