[R] Running a R file at a specific time each day

MacQueen, Don macqueen1 at llnl.gov
Mon Feb 11 22:25:25 CET 2013


cron does work just fine on the Mac, and will work the same way as in
Linux, except (almost certainly) for the path to R itself.



-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 2/11/13 11:16 AM, "Bhupendrasinh Thakre" <vickythakre at gmail.com> wrote:

>Depends on system you are working.
>
>Mac : Automator
>Windows : save the script in the folder where python is installed and
>then run it through command prompt.
>Linux and unix specific : cron jobs.
>
>As Mac is unix underneath so cron will work there also but never tried it.
>
>Best Regards,
>
>Bhupendrasinh Thakre
>Sent from my iPhone
>
>On Feb 11, 2013, at 1:02 PM, Whit Armstrong <armstrong.whit at gmail.com>
>wrote:
>
>> 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.
>> 
>> ______________________________________________
>> 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.
>
>______________________________________________
>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.



More information about the R-help mailing list