0

For some reason, in one of my shiny projects, DT::datatable(iris) returns empty window, even in interactive mode. So, it turns on 'Viewer' tab but nothing shows there. Not sure how to debug it, as in other projects it works fine.

R version 3.4.1 (2017-06-30) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core)

vladli
  • 1,454
  • 2
  • 16
  • 40
  • Did you include it in your UI output? – camille Dec 21 '18 at 14:24
  • Try reinstalling the DT package. – Samuel Dec 21 '18 at 14:27
  • @camille - yes, and it doesn't work even if I stop the app and try to use `datatable()` in console. @jsb tried - didn't help – vladli Dec 21 '18 at 14:39
  • Should it be `DT::renderDataTable(iris)`? – NColl Dec 21 '18 at 14:43
  • 1
    Sounds silly, but have you restarted your session? Otherwise, it seems like you'll need to post a [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) for anyone to be able to do more than speculate – camille Dec 21 '18 at 14:59
  • Yeah, I did. Also, renderDT doesn't matter, as it doesn't work outside of shiny, too. I'll try to create an example when I'm back to laptop. – vladli Dec 22 '18 at 00:25

0 Answers0