[R-sig-hpc] Submit condor job, executable = R

Kevin.Buckley at ecs.vuw.ac.nz Kevin.Buckley at ecs.vuw.ac.nz
Wed Jun 16 01:17:09 CEST 2010


Given that you have an R execution working when you use a .bat file
as the Condor executable, why not carry on doing that but pass the
GridR generated R script as an argument to the batch fle?

In the batch file, something like:

c:\"program files"\r\r-2.6.0\bin\r.exe --no-save < %1

(The %1 is the first argument as seen by the batch file,
 %2 the 2nd and so on)

In the Condor command file:

executable = C:\Belfry\DoMyR.bat

arguments = C:\Temp\GridRTmp\Remscript.R


Apologies if the actual R command is not exact there, (I am not
an "R man" but have some run R stuff under Condor for others !)
but you'll get the underlying idea.

-- 
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand



More information about the R-sig-hpc mailing list