From thomas@biostat.washington.edu  Mon Apr 28 15:58:03 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Mon, 28 Apr 1997 07:58:03 -0700 (PDT)
Subject: R-alpha: R-beta:matrix & vector multiplication.
In-Reply-To: <9704010823.AA00318@>
Message-ID: <Pine.SUN.3.95.970428075618.1365B-100000@zen>

Both of these used to work and seem useful and harmless:

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


Thomas Lumley
-----------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: R-beta:matrix & vector multiplication.
Thomas Lumley