ggplotgui icon indicating copy to clipboard operation
ggplotgui copied to clipboard

Capacity of web app and Installation

Open jeremy-wilmer opened this issue 5 years ago • 1 comments

I LOVE this web app and have started using it to help teach ggplot to four labs of 11-13 students each.

I'm running into a pair of issues that is making this more difficult (though not impossible).

First issue: When students run the web app, it crashes due to the traffic of 8-13 students using it at the same time.

Second issue: When we install and run the app directly via RStudio, we get the following error... DataTables warning: table id=DataTables_Table_0 - Requested unknown parameter '4' for row 0. For more information about this error, please see http://datatables.net/tn/4 ...the same issue appears for both standalone app and rstudio.cloud, and same issue also appears for installation of either CRAN version or devtools version.

So my question is whether it might be possible either to: (1) Up the capacity of the web app to be able to handle more parallel traffic, or (2) Squash the bug in the directly loadable version (or share any quick thoughts or advice that might help me to fix it myself, which I'll be working on in any case)

Many thanks for creating this wonderful resource!

p.s. In the meantime, we'll just alternate our usage of the web app so only a few folks are using it at once, which is totally workable.

jeremy-wilmer avatar Feb 10 '20 18:02 jeremy-wilmer

Namespacing dataTableOutput and renderDataTable in ggplot_shiny() with DT:: seems to fix the second issue. So using DT::dataTableOutput and DT::renderDataTable

andriesdeman avatar Feb 12 '20 10:02 andriesdeman