Re: [R] executing R batch files

2009-02-04 Thread Greg Snow
rmountain Healthcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of joseph.g.bo...@gsk.com > Sent: Tuesday, February 03, 2009 3:10 PM > To: Gabor Grothendieck > Cc: r-help@r-project.org

Re: [R] executing R batch files

2009-02-03 Thread joseph . g . boyer
nce Bldg 510, 3233-D Mail Stop RN0320 8-275-3661 cell: (610) 209-8531 "Gabor Grothendieck" 02-Feb-2009 18:53 To joseph.g.bo...@gsk.com cc r-help@r-project.org Subject Re: [R] executing R batch files Without the actual VBA commands you are using we can't be sure but if y

Re: [R] executing R batch files

2009-02-02 Thread Gabor Grothendieck
Without the actual VBA commands you are using we can't be sure but if you are using Shell then it requires an exe, not a bat file. Try cmd.exe /c RBatch.bat so that it has an exe file to execute. On Mon, Feb 2, 2009 at 6:42 PM, wrote: > The following command, issued from the DOS command prom

[R] executing R batch files

2009-02-02 Thread joseph . g . boyer
The following command, issued from the DOS command prompt (running Windows XP), produces the intended result of a .csv file created by program.R: ?c:\program files\R\R-2.8.0\bin\Rterm.exe? --save < "c:\TEMP\program.R" However, when I create a file called Rbatch.bat that contains exactly the lin