Bug 15044 - lm.wfit with all zero weights causes windows to crash
lm.wfit with all zero weights causes windows to crash
Status: CLOSED FIXED
Product: R
Classification: Unclassified
Component: Models
R 2.15.1 patched
ix86 (32-bit) Windows 32-bit
: P5 normal
Assigned To: R-core
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-05 14:05 UTC by Marcus
Modified: 2012-09-06 10:11 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus 2012-09-05 14:05:31 UTC
The following example should cause the error on windows with R-2.15.1, and R-2.15.1 patched.

set.seed(42)
n <- 10
y <- rnorm(n)
x <- rnorm(n)
w <- rep(0, n)

lm.wfit(cbind(1, x), y, w)

Process R exited abnormally with code 148 at Wed Sep 05 12:23:58 2012


For more details see bioconductor thread;

*https://stat.ethz.ch/pipermail/bioconductor/attachments/20120905/538df8cf/attachment.pl

Martin Morgan also caught an exception in this thread on "R Under development (unstable) (2012-09-04 r60559)" (I am assuming linux OS).

https://mailman.stat.ethz.ch/pipermail/bioconductor/2012-September/047868.html

> version
               _                                           
platform       i386-w64-mingw32                            
arch           i386                                        
os             mingw32                                     
system         i386, mingw32                               
status         Patched                                     
major          2                                           
minor          15.1                                        
year           2012                                        
month          09                                          
day            01                                          
svn rev        60539                                       
language       R                                           
version.string R version 2.15.1 Patched (2012-09-01 r60539)
nickname       Roasted Marshmallows