【发布时间】:2023-03-24 11:18:01
【问题描述】:
我只是想在 Shiny 的桌子上找到$\10^{-1}$,但它不起作用。我正在尝试以下代码(提前致谢):
ui.R:
require(shiny)
shinyUI(tableOutput('mytable')
)
server.R:
require(shiny)
shinyServer(function(input, output){
output$mytable <- renderTable({
df <- data.frame(A = c("$\\10^{-1}$", 33.1, 6),B = c(111111, 3333333, 3123.233))
df
}, sanitize.text.function = function(x) x)
})
【问题讨论】: