datatable works locally but broken on shinyapps.io

259 views
Skip to first unread message

Brett Amdur

unread,
Apr 30, 2016, 6:34:21 PM4/30/16
to ShinyApps Users
I've built a shiny app that runs fine locally, but when I deploy it to shinyapps.io,  the two datatables I've generated (using the DT package) fail to render.  No error messages -- the datatables just get skipped in the HTML output.  For a number of reasons, I can't share code right now, but does anyone have any ideas why this problem would exist on shinyapps.io and not locally? 

Thanks!

Tareef Kawaf

unread,
May 1, 2016, 3:12:48 PM5/1/16
to Brett Amdur, ShinyApps Users
Brett, 
If you don't see any errors in rsconnect::showLogs(), have you looked to see if there are any errors in the JavaScript console of the browser? 
It might be helpful to share the URL to your application if it is possible to do so.
-Tareef

On Sat, Apr 30, 2016 at 6:34 PM, Brett Amdur <brett...@gmail.com> wrote:
I've built a shiny app that runs fine locally, but when I deploy it to shinyapps.io,  the two datatables I've generated (using the DT package) fail to render.  No error messages -- the datatables just get skipped in the HTML output.  For a number of reasons, I can't share code right now, but does anyone have any ideas why this problem would exist on shinyapps.io and not locally? 

Thanks!

--
You received this message because you are subscribed to the Google Groups "ShinyApps Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shinyapps-use...@googlegroups.com.
To post to this group, send email to shinyap...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shinyapps-users/e581b5af-b1e2-4020-b5f2-5f14a223e0f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jon Cole

unread,
Jul 14, 2016, 12:37:04 PM7/14/16
to ShinyApps Users
I was having a similar problem.  Normally I build a single file shiny app but lately I have been using separate ui and server files. If you have a two file shiny app be sure to include library(DT) in both files otherwise they will fail to render.

Jon
Reply all
Reply to author
Forward
0 new messages