r - Error when trying to display dataframe using renderDataTable in Shiny -


i trying display dataframe using renderdatatable in shiny.

my server.r has following code:

output$table <- renderdatatable(  summaryactivitydt, options = list(orderclasses = true)   ) 

when run app, following alert box:

datatables warning: table id=datatables_table_0 - ajax error. more information error, please see http://datatables.net/manual/tech-notes/7

while debugging (based on url in alert box), came across following error:

dims [product 75] not match length of object [86] 

p.s. if replace calculated dataframe iris, works fine. however, not know what's wrong dataframe summaryactivitydt.

the posixlt causing issues. after changed column positlt chr, worked fine.

thanks everyone. hope others find useful.


Comments