我正在尝试添加位于我的计算机上的图像,但它无法正常工作.我创建了一个test.html文件,当我用浏览器(firefox)打开它时,它会渲染图像.但是当我尝试使用与Shiny相同的代码时,它不起作用.以下是我正在尝试的代码:
#html Code
Corinthians
Vai corinthians
## Shiny Code
headerPanel_2(
HTML(
'
'),h3,"Relatório de Horas"
)
这是functionm,headerPanel_2.我正在使用:
headerPanel_2
tagList(
tags$head(tags$title(windowTitle)),h(title)
)
}
我认为代码中的关键是“src =”file:/// H:// lab / comunicacao / logo hyper / logo_hyp.jpg“.那有什么问题?我怎么说闪亮在哪里?该文件位于我的电脑上?