问题
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