[R] Error: bad value ? what is that?

Jose quesada at gmail.com
Fri Jun 15 17:30:19 CEST 2007


Peter Dalgaard <p.dalgaard <at> biostat.ku.dk> writes:

> 
> Jose Quesada wrote:
> > Hi,
> >
> > I'm finding a very strange error.
> > For no good reason my R console (Rgui.exe, R 2.5.0, under win XP) stops  
> > producing anything meaningful, and just returns:
> > Error: bad value
> > to _whatever_ I enter. It starts doing this after a while, not immediately  
> > when launched.
> >
> > I have to restart R when this happens.
> > No idea why. I didn't change anything in the R config that I remenber.
> >
> > Any thoughts?
> >
> > Thanks.
> >
> >   
> Hmm that message comes from deep down inside SETCAR() and friends. I 
> can't see other reasons for it than memory corruption. Are you running 
> some rogue C code? Is the machine flaky in other respects?
> 
> ______________________________________________
> 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
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

Thanks Peter,

Interesting; I upgraded my laptop to 2 gigs. and from that point on, it 
sometimes fauls to hibernate (just hangs). Maybe this is related? I installed 
an XP patch to solve hibernation problems with laptops over 2 gigs...

Maybe it didn't work?

-Jose
Re: Rogue c code: I was running library(Matrix), which is a pretty complicated 
piece of code and surely has c code...



More information about the R-help mailing list