Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图使用以下代码从服务器文件中简单地附加一个 div
HTML("content-id",div("title", "Hello"), add = TRUE)
但它不断返回
[object Object]
我能做些什么来解决这个问题吗?我试过使用
HTML("content-id",tags$div("title", "Hello"), add = TRUE)
但效果是一样的。任何帮助都会很棒。谢谢!
nvm,我想知道了!
shinyjs::html("content-id",as.character(tags$div("title", "Hello"), add = TRUE))