R shiny color dataframe

后端 未结 2 1874
独厮守ぢ
独厮守ぢ 2020-12-15 09:14

I have a data frame:

   runApp(
      list(ui = bootstrapPage(pageWithSidebar(
        headerPanel(\"Data frame with colors\"),
        sidebarPanel(),
              


        
2条回答
  •  醉梦人生
    2020-12-15 09:37

    Nowadays there is more elegant solution by using shinyTables:

    # Install devtools, if you haven't already.
    install.packages("devtools")
    
    library(devtools)
    install_github("shinyTable", "trestletech")
    library(shiny)
    runApp(system.file("examples/01-simple", package="shinyTable"))
    

    Code in github:Example:

提交回复
热议问题