Re: [R] return code 10 in the R documentation

From: Jim Lemon <jim_at_bitwrit.com.au>
Date: Mon, 25 Apr 2011 13:53:51 +1000

On 04/25/2011 12:26 PM, swarna14 wrote:
> Hi Everyone,
>
> I have group of R jobs that should be submitted to the condor when I submit
> the jobs to the condor, they don't run and when I checked the Sched Log
> files the jobs are exiting with status code 10. Previously, the jobs ran
> well on condor but now when I submit the jobs on condor they aren't
> running.Can anyone explain the meaning of this?
>
The "condor" in question appears to be a top level directory on a PC, not the iconic scavenger that was rescued from extinction in southern California. We will charitably assume that it directs your R script to an R interpreter at the address shown below.

> Here is my submit file:
>
> # Submit file for combining the output
>
> universe = vanilla
>
> Executable = C:\Progra~1\R\R-2.11.1-x64\bin\Rscript.exe
>
Here is a crucial bit of information.
>
> input = AddTwo.R
> ...
> 04/21 16:20:06 Input file: C:\condor\execute\dir_280\AddTwo.R
>
If we could but see the code contained in "AddTwo.R" (which I strongly suspect is a program to add two numbers), we might be able to fathom the following message.
>
> 04/21 16:20:06 Process exited, pid=2644, status=10

I'll try a completely uninformed guess at your problem, which is probably appropriate for the completely uninformed question. "AddTwo.R" just might want two numbers as arguments. It adds these two numbers and returns the value. The "Renice..." line in the log file might indicate that the program is assigned low priority, and somehow this default argument has been returned as an error code. Please send your R code to the list and perhaps a more informative answer will be returned.

Jim



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. Received on Mon 25 Apr 2011 - 03:57:36 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 25 Apr 2011 - 09:50:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive