RenderDataTable in Shiny does not output output correctly

I am executing a very minimal renderDataTableexample posted on the DT github page below http://rstudio.imtqy.com/DT/shiny.html

library(shiny)
shinyApp(
  ui = fluidPage(DT::dataTableOutput('tbl')),
  server = function(input, output) {
    output$tbl = DT::renderDataTable(
      iris, options = list(lengthChange = FALSE)
    )
  }
)

However, the output that I see after executing this code is garbage, the column names are listed on one line without a space.

enter image description here

I tried this after removing the DT packages and reinstalling again

devtools::install_github('rstudio/DT')

Nothing has changed, all the same results. I do not understand why DT :: renderDataTable () does not work. Any suggestions are welcome.

------------- Update ----------------

, shinyapps Flexdashboard. Flexdashboard , , Flexdashboard datatables renderDataTable function

+4
1

, renderdatatable.

, , renderdatatable flexdashboard, flexdashboard, renderdatatable .

flexdashboard 1) renderdatatable, , 2). , flexdashboard Shiny flexdashboard, , renderdatatable .

JJ Allaire, ,

 options(DT.fillContainer = FALSE) 
 options(DT.autoHideNavigation = FALSE) 

flexdashboard, datatable, datatable Shiny.

+2

All Articles