Re: [R] Odp: Error in lm.fit(

2007-10-03 Thread Peter Lauren
Hi, I checked my code and found that it was actually a subsequent call to lm.fit() (which only gets called occasionally) where the problem occurred. I found that I was accidentally passing a matrix called PMs instead of the vector PM. Sorry about that. Thanks, Peter. --- Petr PIKAL <[EMAIL PR

[R] Odp: Error in lm.fit(

2007-10-03 Thread Petr PIKAL
Hi [EMAIL PROTECTED] napsal dne 03.10.2007 14:56:19: > I am using R.2.4.1 on Windows XP 5.1 (SP 2). Upgrade R. Version 2.6.0 is imminent. > > I have the following line in my R code. > > Analysis=anova(lm(PM ~ x)) > > It works the first 60 or so times it is called but > then I get the followi