[R] Windows Task Scheduler and R updates. Need basic tips

2012-05-17 Thread Paul Johnson
This is a basic Windows system administrator problem, asked by a Linux guy who is helping out in a Windows lab. I want to keep R packages up to date on MS Windows 7 with a job in the Task Scheduler. I have an R program that I can run (as administrator) that updates the existing packages and then

Re: [R] Windows Task Scheduler and R updates. Need basic tips

2012-05-17 Thread Joshua Wiley
Hi Paul, This is a bit OT, but here's what I would do. 1) write the R script (or if updating packages is all you want Rscript -e update.packages(repos = 'yourrepo', ask = FALSE) would do it without need for a script) 2) write a silly batch file (e.g., Rupdate.bat) wrapper (maybe there are