R shiny table with dates

后端 未结 1 1677
我在风中等你
我在风中等你 2021-01-07 22:25

I\'m making an app to analyse some data with Shiny.

When I directly send query to database, I can see good rezults:

相关标签:
1条回答
  • 2021-01-07 23:09

    Try using this:

    not_outlier_dates[,2] <- as.character(not_outlier_dates[,2])
    

    The problem lies in the xtable library that Shiny uses to display tables. It seems there are bugs related to date columns, as stated in this SO question and this (closed) Shiny issue. Not sure if that still applies or if it applies to your xtable version, though.

    0 讨论(0)
提交回复
热议问题