[R] R[1304] general protection rip - Error running R file in Batch mode
Srinivas Iyyer
srini_iyyer_bio at yahoo.com
Wed Feb 22 02:49:57 CET 2006
Hi group,
I ran the file again and after 10 min. of run, the
process got interrupted.
Here is the output of the file
$bash: R CMD BATCH grand.R > grand.log
R CMD BATCH grand.R
/usr/local/lib64/R/bin/BATCH: line 55: 1758 Broken
pipe ( echo "invisible(options(echo =
TRUE))"; cat ${in}; echo ''; echo "proc.time()" )
1760 Segmentation fault | ${R_HOME}/bin/R
${opts} >${out} 2>&1
Is this because of the excess query code in one .R
file?
Any suggestions, will help me .
thanks
Sri
>
> I created a jumbo 100*54 = 5400 lines of code by
> replication.
>
> I saved this file as .R and ran it as:
> R CMD BATCH myfile.R..
>
> The program ran for ~40 mins. ( each operation takes
> 5
> mins). after going home, I checked the stats and saw
> that the program got aborted leaving 8 output files
> in
> directory.
>
> I checked /var/log/messages and found :
>
> localhost kernel: R[1304] general protection
> rip:2a988c919e rsp:7fbfff87f0 error:0
>
>
> postgres did not log any error message.
>
> This is my first time I am running my R code in
> BATCH
> mode. I am a new to programming in R and I have been
> working directly with R interface.
>
> Could any one guess what could have been the
> problem.
>
> Thanks
> Sri
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
>
More information about the R-help
mailing list