Sarah Henderson
2012-Jun-13 23:48 UTC
[R] Trouble with .bat files upon installation of 15.0
Hello to all -- I'm hoping that someone more knowledgeable than me can shed some light on a problem I have been having. In point form: - I am running XP on a 64-bit processor - I run 5 automated R tasks every morning using .bat files and a little utility called System Scheduler by Splinterware. I cannot use the inbuilt scheduled tasks functionality because IT won't let me for "security reasons". - Until June 8th I was running R 12.1 - On the afternoon of June 8th I upgraded to R 15.0 and removed 12.1 - I updated all of my libraries and ensured that old scripts were running smoothly - I updated the path to Rterm via the System control panel (C:\Program Files\R\R-2.15.0\bin\x64) - On the morning of June 9th my automated tasks all appeared to run (according to System Scheduler) but none produced any results - When I double-clicked the individual .bat files they all ran smoothly - The same thing happened each day until yesterday when I broke down and re-installed R 12.1 again and changed the path back (C:\Program Files\R\R-2.12.1\bin\x64) - Everything ran perfectly smoothly this morning I confess that I am baffled. As far as I am aware the System Scheduler should simply act as a double-click on the .bat file at a specific time, but there is obviously something more to it than that. What have I missed? I would like to get this sorted out, as I don't want to have this stuff tied to 12.1 indefinitely, especially as I am developing all new code in 15.0. Thanks for any help you can offer, Sarah
On 14.06.2012 01:48, Sarah Henderson wrote:> Hello to all -- > > I'm hoping that someone more knowledgeable than me can shed some light > on a problem I have been having. In point form: > > - I am running XP on a 64-bit processor > - I run 5 automated R tasks every morning using .bat files and a > little utility called System Scheduler by Splinterware. I cannot use > the inbuilt scheduled tasks functionality because IT won't let me for > "security reasons". > - Until June 8th I was running R 12.1There never was an R 12.1 (nor 15.0). My guess is you mean R-2.12.1.> - On the afternoon of June 8th I upgraded to R 15.0 and removed 12.1 > - I updated all of my libraries and ensured that old scripts were > running smoothly > - I updated the path to Rterm via the System control panel (C:\Program > Files\R\R-2.15.0\bin\x64) > - On the morning of June 9th my automated tasks all appeared to run > (according to System Scheduler) but none produced any results > - When I double-clicked the individual .bat files they all ran smoothly > - The same thing happened each day until yesterday when I broke down > and re-installed R 12.1 again and changed the path back (C:\Program > Files\R\R-2.12.1\bin\x64) > - Everything ran perfectly smoothly this morningProbably the scheduler runs under another user account / security level? Please ask the vendor of that software. Uwe Ligges> I confess that I am baffled. As far as I am aware the System > Scheduler should simply act as a double-click on the .bat file at a > specific time, but there is obviously something more to it than that. > What have I missed? I would like to get this sorted out, as I don't > want to have this stuff tied to 12.1 indefinitely, especially as I am > developing all new code in 15.0. > > Thanks for any help you can offer, > > Sarah > > ______________________________________________ > 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.
Sarah Henderson
2012-Jun-15 21:23 UTC
[R] Trouble with .bat files upon installation of 15.0
Thanks for your help -- you were absolutely correct. And I apologize for the poor nomenclature -- when referring to versions I always just say 'fifteen' or 'twelve point one', so it is too easy to forget the leading '2.' when typing. Careless of me. Cheers, Sarah> - Until June 8th I was running R 12.1There never was an R 12.1 (nor 15.0). My guess is you mean R-2.12.1.> - The same thing happened each day until yesterday when I broke down > and re-installed R 12.1 again and changed the path back (C:\Program > Files\R\R-2.12.1\bin\x64) > - Everything ran perfectly smoothly this morningProbably the scheduler runs under another user account / security level? Please ask the vendor of that software. Uwe Ligges> I confess that I am baffled. As far as I am aware the System > Scheduler should simply act as a double-click on the .bat file at a > specific time, but there is obviously something more to it than that. > What have I missed? I would like to get this sorted out, as I don't > want to have this stuff tied to 12.1 indefinitely, especially as I am > developing all new code in 15.0. > > Thanks for any help you can offer, > > Sarah