From arnima at u.washington.edu  Wed Dec  3 13:50:09 2008
From: arnima at u.washington.edu (arnima at u.washington.edu)
Date: Wed,  3 Dec 2008 13:50:09 +0100 (CET)
Subject: [Rd] Matrix dimnames crash (PR#13361)
Message-ID: <20081203125009.42B49282EFF6@mail.pubhealth.ku.dk>

In Windows XP, the matrix() function crashes the program when 'dimnames' 
is an empty list:

   matrix(1:4, nrow=2, dimnames=list())
   # R has encountered a problem and needs to close ...

This bug is specific to WinXP, as Linux64 handles this situation more 
gracefully:

   matrix(1:4, nrow=2, dimnames=list())
   Error in matrix(1:4, nrow = 2, dimnames = list()) :
     invalid type (environment) for 'dimnames' (must be a vector)

Thanks,
Arni

R 2.8.0-patched on WinXP



[Rd] Matrix dimnames crash (PR#13361)
arnima at u.washington.edu