[R] Auto update package scripts

From: Joe Byers <joe-byers_at_utulsa.edu>
Date: Tue 18 Jul 2006 - 03:13:15 EST

I am trying to set up my home, office, and a server to auto update my R packages once a week. I have a cron job on the server and a scheduled task on the other two pc's that are scripts. The batch script is

    rem #!/bin/bash
    rem cron job for updating R weekly
    rem #options(echo = FALSE)
    set Rloc="\Program Files\R\bin\"
    set script=\Libraries\R\

%Rloc%R CMD BATCH %script%updatepackages.R

I also have a similar bash shell script for the server.

These scripts call the R script updatepackages.R which is

    options(echo = FALSE)

My question is there a way to pipe the two R commands in the shell scripts so I do not have to have a seperate R script on my pc's or my server?

If anyone has a better idea, I would appreciate their comments and suggestions.

Thank you
Joe W. Byers

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 18 04:36:04 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 18 Jul 2006 - 06:16:13 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.