Skip to content
Prev 13173 / 63424 Next

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

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.