[Rd] Bug in cor() with named array and matrix (PR#7116)

jusung at andrew.cmu.edu jusung at andrew.cmu.edu
Mon Jul 19 23:13:01 CEST 2004


Full_Name: Ju-Sung Lee
Version: 1.9.1
OS: Windows XP
Submission from: (NULL) (128.2.79.102)


The following commands causes R to crash:
a = array(1:3)
dimnames(a)[[1]] = c('1','2','3')
cor(a,matrix(1:3))

not naming the array seems to work.



More information about the R-devel mailing list