[Rd] printCoefmat() with all-zero first column (PR#13677)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Wed Apr 29 11:20:22 CEST 2009

>>>>> "TL" == Thomas Lumley <tlumley at u.washington.edu>
>>>>>     on Sat, 25 Apr 2009 19:00:14 +0200 (CEST) writes:

    >> m<-matrix(c(0,1),ncol=2)
    >> printCoefmat(m)
    TL> [,1] [,2]
    TL> [1,]  NaN    1
    TL> Warning messages:
    TL> 1: In min(x) : no non-missing arguments to min; returning Inf
    TL> 2: In max(x) : no non-missing arguments to max; returning -Inf
    TL> 3: In log(c(Inf, -Inf), 10) : NaNs produced

Thank you, Thomas.
This is now fixed in R 2.9.0 patched (rev.48431) and R-devel.


    >> sessionInfo()
    TL> R version 2.9.0 beta (2009-04-08 r48309)
    TL> i386-apple-darwin9.6.0

    TL> locale:
    TL> en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

    TL> attached base packages:
    TL> [1] stats     graphics  grDevices utils     datasets  methods   base

    TL> Thomas Lumley			Assoc. Professor, Biostatistics
    TL> tlumley at u.washington.edu	University of Washington, Seattle

More information about the R-devel mailing list