davidgohel / ReporteRs

Note that ReporteRs has been removed from CRAN the 16th of July 2018 and is not maintained anymore. please migrate to officer.
244 stars 44 forks source link

ReporteRs not working on shinyapp.io, show error of "Worker asked to create wait channel was in stopped state." #200

Closed fyang72 closed 7 years ago

fyang72 commented 7 years ago

Hi, David: When I tried to publish a demo version of app with library("ReporteRs"), the shinyapp.io show errors: "Worker asked to create wait channel was in stopped state." [tested 05-26-2017 and 05-27-2017]

Have tried a few simple app, all shows the same error when try to load library("ReporteRs"), when removed, the app works fine.

My working environement shows below. Any thoughts? Or the errors come from shinyapp.io?

Many thanks!

=========================================== system("java -version") java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.8.0_51-b16) Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

============================================ sessionInfo() R version 3.4.0 (2017-04-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] Rcpp_0.12.10 digest_0.6.12 withr_1.0.2 bitops_1.0-6 mime_0.5 R6_2.2.0
[7] xtable_1.8-2 git2r_0.18.0 httr_1.2.1 curl_2.6 devtools_1.13.1 RJSONIO_1.3-0
[13] tools_3.4.0 RCurl_1.95-4.8 shiny_1.0.3 httpuv_1.3.3 rsconnect_0.8 compiler_3.4.0 [19] memoise_1.1.0 htmltools_0.3.6

davidgohel commented 7 years ago

Hi,

From what I read on shinyapps forums, it's because app consumes too much memory. ReporteRs may be the cause because it's using rJava (and rJava is causing many memory issue).

You can use package officer instead, it's been written to avoid that kind of issue...

David

fyang72 commented 7 years ago

Thanks! Greatly appreciated!

Feng

On Fri, Jun 2, 2017 at 3:31 AM, David Gohel notifications@github.com wrote:

Hi,

From what I read on shinyapps forums, it's because app consumes too much memory. ReporteRs may be the cause because it's using rJava (and rJava is causing many memory issue).

You can use package officer instead, it's been written to avoid that kind of issue...

David

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davidgohel/ReporteRs/issues/200#issuecomment-305712134, or mute the thread https://github.com/notifications/unsubscribe-auth/AXLV3YE043KXTawNeO5r4fcEPvyCj56kks5r_7pOgaJpZM4NoUR3 .