[Rd] cancor rownames bug

Prof Brian D Ripley ripley@stats.ox.ac.uk
Fri, 7 Dec 2001 06:38:39 +0000 (GMT)


On Thu, 6 Dec 2001, Paul Gilbert wrote:

> R : Copyright 2001, The R Development Core Team
> Version 1.4.0 Under development (unstable) (2001-12-05)
> ...
> > library("mva")
> > cancor(matrix(rnorm(100),100,1), matrix(rnorm(300),100,3))
> Error in "rownames<-"(*tmp*, value = colnames(x)) :
>         dimnames applied to non-array
> >
>
> I think either La.svd or backsolve needs a drop=F somewhere.

Indeed one branch in La.svd does.  Thanks, fixed now.


-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._