From rgentlem@stat.auckland.ac.nz  Sun Jan 11 23:58:57 1998
From: rgentlem@stat.auckland.ac.nz (Robert Gentleman)
Date: Mon, 12 Jan 1998 12:58:57 +1300 (NZDT)
Subject: matrix multiply
Message-ID: <199801112358.MAA08468@stat1.stat.auckland.ac.nz>

A long time ago thomas noted:

----------------------------------------------------------------------
TASK:   Matrix multiply problems
STATUS: Open
FROM:   <thomas@biostat.washington.edu>
        Both of these used to work and seem useful and harmless (and work in S):
        R> matrix(1,ncol=1)%*%c(1,2)
        Error in matrix(1, ncol = 1) %*% c(1, 2) : non-conformable arguments
        R> matrix(1,ncol=1)*(1:2)
        Error: dim<- length of dims do not match the length of object

----------------------------------------------------------------------

 I have fixed both of these. In the second case all binary ops now
 behave in this manner. In the first case only %*% has been "fixed".
 
 
 robert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


matrix multiply
Robert Gentleman