> William Dunlap via R-devel
> on Thu, 17 Dec 2015 14:40:18 -0800 writes:
> Is there a reason that array() silently ignores dimnames
> that are not a list but matrix() gives an error?
>> str(matrix(11:14, 2, 2, dimnames=c("Rows","Cols")))
> Error in matrix(11:14, 2, 2
Is there a reason that array() silently ignores dimnames that are not
a list but matrix() gives an error?
> str(matrix(11:14, 2, 2, dimnames=c("Rows","Cols")))
Error in matrix(11:14, 2, 2, dimnames = c("Rows", "Cols")) :
'dimnames' must be a list
> str(array(11:14, dim=c(2, 2), dimnames=