Use cron job scheduler to start r session on your script. Andy
________________________________ From: Sarah Henderson <sarah.b.hender...@gmail.com> To: R List <r-help@r-project.org> Sent: Wednesday, June 1, 2011 7:50 PM Subject: [R] Run R script automatically each morning and email results? Greetings to all -- I am hoping that someone can offer some insight into an area where I have very little experience. I have written some R code that generates a 90-day plot of temperature vs. mortality. On whatever day the code is run it will grab up-to-date vital statistics data from our server and combine it with up-to-date temperature data from the web. This is a baby step in automated surveillance of the relationship between temperature and mortality in our area. The next step is to have this code run automatically every morning at 8:00am, and to email the resulting plot to a few key stakeholders. Can anyone recommend how I might accomplish this? Either in R, or some other user-friendlish solution? Many thanks, Sarah [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.