Displaying 1 result from an estimated 1 matches for "rloc".
Did you mean:
  loc
  
2006 Jul 17
0
Auto update package scripts
...o 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)
    update.packages(ask=FALSE,repos="http://c...