Disconnected from Server in shinyapps, but local's working

前端 未结 3 1437
萌比男神i
萌比男神i 2020-12-19 09:34

I deployed my Shiny code to shinyapps.io successful. My data has little much rows (over 190,000), these data\'s can display in my local PC but shinyapps cannot with \'Discon

3条回答
  •  青春惊慌失措
    2020-12-19 10:16

    If there are no errors in the logs, then you are likely running into one of two problems: You are either running out of memory, or your application startup is timing out.

    Try reducing your data to just a few rows and see if it displays. If you can get something to display, then you know it's a data size issue. Next, try increasing the application startup time under Settings -> Advanced -> Startup Timeout.

    If that doesn't fix it, you may be running out of memory. Make sure you're on the Large setting under Settings -> General -> Instance Size.

    shinyapps.io only allows up to 1GB for the free tier, so to get around it you'll either need to find a way of reducing your data or getting a paid plan: http://shiny.rstudio.com/articles/shinyapps.html

提交回复
热议问题