I encountered a weird situation that made me confused and searched for a while but seems no same issues as mine with data table package.
I simply used the basic default data table in my shiny app, see example:
Server.R
library(shiny) library(DT) shinyServer(function(input, output) { output$expense_table_check<-renderDataTable({ iris }) }) ui.R
library(shiny) shinyUI(fluidPage( mainPanel( navlistPanel( tabPanel("DT",h1("DT"), dataTableOutput("expense_table_check")) ) ) ) ) Sometimes the above works fine but sometimes not. I tried replacing dataTableOutput("expense_table_check") with dataTableOutput('expense_table_check') and then it works sometimes, but sometime not.
I also tried replacing the output name expense_table_check with expense_table_check2. But still cannot solve the issue. Any suggestion or comment is appreciated.
DTnadshinypackage are you using? OS too? Everything is working fine at my endinspectand see what the page consists of.