【发布时间】:2019-10-20 00:20:12
【问题描述】:
对于我目前正在处理的项目,我想使用闪亮的 R 在 textInput 框中放置一个超链接。在 R 中使用以下脚本时,我的 html 代码将显示在 textInput 框中,而不是显示“Google 主页”作为可点击的链接。
test <- a("Google Homepage", href="https://www.google.com/")
runApp(
list(ui = fluidPage(
textInput("test", "test", test)
),
server = function(input, output, session){
})
)
是否可以在文本输入框中放置超链接?还是仅作为输出值?
【问题讨论】: