rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.37k stars 1.86k forks source link

Shiny window closes by itself right after opened by using shinyApp() #975

Closed sillasgonzaga closed 8 years ago

sillasgonzaga commented 9 years ago

This is quite a strange issue I'm dealing with.

Most of the times I run a Shiny app using the shinyApp() command, the window closes right after it is opened. This is really odd given that sometimes it works perfectly.

See this example. Note that the window closes by itself even though I didn't do anything: shiny

Note, too, that the server is still running because of the line "Listening on http://127.0.0.1:4005".

sessionInfo()

R version 3.2.2 (2015-08-14) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

locale: [1] LC_COLLATE=Portuguese_Brazil.1252 LC_CTYPE=Portuguese_Brazil.1252 LC_MONETARY=Portuguese_Brazil.1252 [4] LC_NUMERIC=C LC_TIME=Portuguese_Brazil.1252

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

other attached packages: [1] shinydashboard_0.5.1 shiny_0.12.2 RCurl_1.95-4.7 bitops_1.0-6 RColorBrewer_1.1-2 RgoogleMaps_1.2.0.7 [7] MASS_7.3-44 readxl_0.1.0 ggplot2_1.0.1 dplyr_0.4.3 reshape2_1.4.1

loaded via a namespace (and not attached): [1] Rcpp_0.12.1 rstudioapi_0.3.1 magrittr_1.5 munsell_0.4.2 xtable_1.7-4 colorspace_1.2-6 R6_2.1.1
[8] stringr_1.0.0 plyr_1.8.3 tools_3.2.2 parallel_3.2.2 grid_3.2.2 gtable_0.1.2 png_0.1-7
[15] DBI_0.3.1 htmltools_0.2.6 lazyeval_0.1.10 assertthat_0.1 digest_0.6.8 RJSONIO_1.3-0 mime_0.4
[22] stringi_0.5-5 scales_0.3.0 jsonlite_0.9.17 httpuv_1.3.3 rstudio_0.98.1102 proto_0.3-10

ax42 commented 8 years ago

I have the same issue (window closes, server still running). Running RStudio Server.

> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 7 (wheezy)

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
 [1] lubridate_1.3.3 magrittr_1.5    scales_0.3.0    tidyr_0.4.0     dplyr_0.4.3     ggplot2_2.0.0   DT_0.1.32      
 [8] readxl_0.1.0    shiny_0.12.2    googleVis_0.5.9

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.1      rstudioapi_0.3.1 munsell_0.4.2    colorspace_1.2-6 xtable_1.7-4     R6_2.1.1        
 [7] stringr_1.0.0    plyr_1.8.3       tools_3.2.1      parallel_3.2.1   grid_3.2.1       gtable_0.1.2    
[13] DBI_0.3.1        htmltools_0.2.6  yaml_2.1.13      lazyeval_0.1.10  digest_0.6.8     assertthat_0.1  
[19] RJSONIO_1.3-0    htmlwidgets_0.5  memoise_1.0.0    mime_0.4         labeling_0.3     stringi_1.0-1   
[25] jsonlite_0.9.17  httpuv_1.3.3     Cairo_1.5-6     
wch commented 8 years ago

Sorry for the long delay in replying. Do either of you still experience this problem?

wch commented 8 years ago

Closing now. Feel free to reopen if this issue comes up again.

lhhe-sb commented 3 years ago

I am currently having the same issue