[R] R crashes during 'eigen'

Duncan Murdoch murdoch at stats.uwo.ca
Tue Mar 28 20:10:41 CEST 2006


On 3/28/2006 11:01 AM, C.J.Albers wrote:
> Hi all,
> 
> Hi,
> 
> When I want to compute the eigenvalues & eigenvectors of a specific
> matrix, R crashes (i.e. it stops responding to any input). I've tried it
> with different versions of R (2.1.1, 2.2.0, 2.2.1) - all with crashing
> as result.
> 
> What I did before the crash was:
> 
> M <- as.matrix(read.table("thematrix",header=T))
> eigen(M)
> 
> If, instead of eigen(M), I use eigen(M, EISPACK=T), R doesn't crash. So,
> I know a workaround my problem, but still don't understand why R
> crashes. Could anyone explain this?
> In case someone wants to download my matrix to see where it goes wrong,
> it can be downloaded from http://mcs.open.ac.uk/cja235/thematrix
> (warning: obviously, R might crash so save your unsaved work first).


I don't get a "crash", but it does appear to lock up in Windows.  I gave 
up after about 15 minutes.  I don't have good facilities for 
interrupting a running process, but I can tell it is stuck somewhere in 
Rlapack.dll.

Duncan Murdoch




More information about the R-help mailing list