[R] Problem with eigen() and LAPACK

Hans Gardfjell hans.gardfjell at eg.umu.se
Fri Apr 18 17:55:33 CEST 2003


Hi all,

when testing the new improvements in the new 1.7.0-version I stumbled 
over the following:

 >eigen(matrix(c(0,.3,2,.9),2,2))
Error in eigen(matrix(c(0,.3,2,.9),2,2)) :
         LAPACK routine DGEEV gave error code -13


 >eigen(matrix(c(0,.3,2,.9),2,2),EISPACK=TRUE)
$values
[1]  1.3458236 -0.4458236

$vectors
            [,1]       [,2]
[1,] -1.1436890 -0.9760443
[2,] -0.7696018  0.2175718


My R-version
[1] "R version 1.7.0, 2003-04-16", running on Debian PC.

Anyone who has a clue why LAPACK refuses to solve the eigenvalues?


Thanks,

Hans Gardfjell
EG, Umeå Universitet, Sweden



More information about the R-help mailing list