Hello again, My query may look quite generic, however at this point of time I just want explain my problem. I am hopeful that somebody can help me. Let say I have a script file 'Script.R'. Now I want R to run this script file each day at a specific time, and store the result (the calculation for the result are already in that script file) in excel (or may be csv file) for each day. Is there in possibility to achieve that? Thanks and regards,
man cron or something more robust: http://jenkins-ci.org/ -Whit On Mon, Feb 11, 2013 at 1:51 PM, Christofer Bogaso <bogaso.christofer at gmail.com> wrote:> Hello again, > > My query may look quite generic, however at this point of time I just > want explain my problem. I am hopeful that somebody can help me. > > Let say I have a script file 'Script.R'. Now I want R to run this > script file each day at a specific time, and store the result (the > calculation for the result are already in that script file) in excel > (or may be csv file) for each day. > > Is there in possibility to achieve that? > > Thanks and regards, > > ______________________________________________ > R-help at 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.
If you are on windows then there is a task scheduler for windows. Generally the best solutions are to use the OS tools to schedule your task, chron or task scheduler. If you need a solution inside of R then you can use the tclTaskSchedule function in the tcltk2 package. On Mon, Feb 11, 2013 at 11:51 AM, Christofer Bogaso < bogaso.christofer@gmail.com> wrote:> Hello again, > > My query may look quite generic, however at this point of time I just > want explain my problem. I am hopeful that somebody can help me. > > Let say I have a script file 'Script.R'. Now I want R to run this > script file each day at a specific time, and store the result (the > calculation for the result are already in that script file) in excel > (or may be csv file) for each day. > > Is there in possibility to achieve that? > > Thanks and regards, > > ______________________________________________ > 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. >-- Gregory (Greg) L. Snow Ph.D. 538280@gmail.com [[alternative HTML version deleted]]