Skip to content
Back to formatted view

Raw Message

Message-ID: <20040719211301.248C6FBF9@slim.kubism.ku.dk>
Date: 2004-07-19T23:13:13Z
From: jusung@andrew.cmu.edu
Subject: 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.