Cron job in R shiny - shiny task schedule in shinyapps io

霸气de小男生 提交于 2020-01-03 19:01:26

问题


I am planing on getting stock data from yahoo finance at the end of each business day (using quantmod). this data is then used to update my shiny app. Now I have to do this manually, I update my csv file which I than upload to shinyapps.io each day. This csv is used for the app.

Is there a way to fully automate this in shiny/shinyapps.io ?

Now I know that this has been asked here before, at least in a similar setting. However there has not been a helpful answer provided to setting up a cron job in shiny and shinyapps io. Packages like littler an Rscript have been mentioned, but they seem to be outdated since I can not even get them for my latest R version.

Any hint on how to do this would be much appreciated


回答1:


You can look for Rstudio's new product: R Studio Connect, it provides scheduling feature.

https://www.rstudio.com/products/connect/



来源:https://stackoverflow.com/questions/40690132/cron-job-in-r-shiny-shiny-task-schedule-in-shinyapps-io

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