[R] Strange warning in summary.lm
    Prof Brian Ripley 
    ripley at stats.ox.ac.uk
       
    Thu Jul 19 14:13:36 CEST 2007
    
    
  
On Thu, 19 Jul 2007, Peter Dalgaard wrote:
> ONKELINX, Thierry wrote:
>> The problem also exists in a clean workspace. But I've found the
>> troublemaker. I had set options(OutDec = ","). Resetting this to
>> options(OutDec = ".") solved the problem.
>>
>> Thanks,
>>
>> Thierry
>>
> Oups. That sounds like there's a bug somewhere. Can you cook up a
> minimal example which shows the behaviour?
Any use of summary.lm will do it (e.g. example(lm)).  The problem is in 
printCoefmat, at
    x0 <- (xm[okP] == 0) != (as.numeric(Cf[okP]) == 0)
and yes, it looks like an infelicity to me.
-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
    
    
More information about the R-help
mailing list