Unable to deploy shiny app on shiny server

怎甘沉沦 提交于 2019-12-10 19:01:45

问题


I am running shiny example in https://github.com/rstudio/shinyapps/blob/master/guide/guide.md .

It works fine on my computer, but when i try to deploy on shiny server using RStudio, R console says:

Application successfully deployed to http://epidemiologia-asppalermo.shinyapps.io/shinyprova"

On my browser I get:

"ERROR: object 'dataset' not found".

In my working directory there are the following objects: diamonds (dataframe) dataset (dataframe, same as diamonds) server.R ui.R .

I use R 3.1.0, RStudio 0.98.932 and windows 7, 32 bit, all my R packages are updated.

Anyone can tell me where I am wrong?


回答1:


I cant see the original deployment but perhaps you've declared diamonds to server.R but Ui.R is being asked to work with diamonds, instead of being fed from Server.R?



来源:https://stackoverflow.com/questions/24306571/unable-to-deploy-shiny-app-on-shiny-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!