Hodgess, Erin wrote :
>
> did you try Rterm.exe instead of R.exe?
>
Indeed, that part was incomplete. I tried Rterm, but it produced the 
same result than Rscript, which is not returning the output files and an 
empty error log.
  It works in the windows prompt using :
C:\Temp\GridRTmp>Rterm --vanilla --file=C:\Temp\GridRTmp\Remscript.R

But with these in the condor file :
Executable = c:/program files/r/r-2.10.1/bin/rterm.exe
arguments = "--vanilla --file=Remscript.R"

As I said, the job is submitted, but I received nothing.

> Erin M. Hodgess, PhD
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: hodgesse@uhd.edu
>
>
>
> -----Original Message-----
> From: r-sig-hpc-bounces@r-project.org on behalf of Etienne Bellemare 
> Racine
> Sent: Tue 6/15/2010 10:02 AM
> To: r-sig-hpc@r-project.org
> Subject: [R-sig-hpc] Submit condor job, executable = R
>
> Hi all,
>
> I'm trying to submit an R script to a (windows) condor pool, but I can't
> make it work (the way I'd like). First, I can submit an R script using a
> .bat file containing R CMD BATCH script.r to the pool and everything is
> working. But my scripts are generated using the GridR package, so I
> would like to execute R as the executable. So I've tried using R, Rterm
> and Rscript, but it doesn't work.
>
> Universe       = vanilla
> Executable     = c:/program files/r/r-2.10.1/bin/rscript.exe
> should_transfer_files = YES
> when_to_transfer_output = ON_EXIT
> arguments      = Remscript.R
> Error          = err.txt
> transfer_input_files =Remscript.R, fx
> Queue
>
> If I run in the windows command prompt :
> >Rscript Remscript.R
> I get my output (y.dat file), but not when I launch it with condor. If I
> replace some arguments in the submission file,
> executable = c:/program files/r/r-2.10.1/bin/r.exe
> arguments = "CMD BATCH Remscript.R"
> the error contain "could not find Rtem.exe" which I find odd.
>
> Any help would be welcome.
>
> Etienne
>
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc
>

	[[alternative HTML version deleted]]

