Abhishek Singh Abhishek Singh - 1 year ago 67
R Question

How to get data without index number in shiny

I am getting the value [1] 0.7976529 by using

on ui.r and

on server.r but i want 0.7976529. How to get data and add dynamic css.

Answer Source

Maybe you can use renderText instead

a3 <- 0.7976529
ui  <- fluidPage(verbatimTextOutput("oaccura"))
server <- function(input, output, session) {
  output$oaccura <- renderText({a3})
runApp(list(ui = ui, server = server))

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download