tlumley at u.washington.edu
2009-Apr-25 17:00 UTC
[Rd] printCoefmat() with all-zero first column (PR#13677)
> m<-matrix(c(0,1),ncol=2) > printCoefmat(m)[,1] [,2] [1,] NaN 1 Warning messages: 1: In min(x) : no non-missing arguments to min; returning Inf 2: In max(x) : no non-missing arguments to max; returning -Inf 3: In log(c(Inf, -Inf), 10) : NaNs produced> sessionInfo()R version 2.9.0 beta (2009-04-08 r48309) i386-apple-darwin9.6.0 locale: en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle
maechler at stat.math.ethz.ch
2009-Apr-29 09:20 UTC
[Rd] printCoefmat() with all-zero first column (PR#13677)
>>>>> "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. Martin >> 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