[R] Can't invert matrix

Noah Silverman noah at smartmediacorp.com
Sun Nov 21 05:55:59 CET 2010


Hi,

I'm trying to use the solve() function in R to invert a matrix.  I get
the following error, "Lapack routine dgesv: system is exactly singular"

However, My matrix doesn't appear to be singular. 

            [,1]       [,2]      [,3]      [,4]
[1,]  0.99252358 0.93715047 0.7540535 0.4579895
[2,]  0.01607797 0.09616267 0.2452471 0.3088614
[3,]  0.09772828 0.58451468 1.4907090 1.8773815
[4,] -0.01000000 0.00000000 0.0900000 0.1700000


Can anyone help me understand what is happening here?

Thanks!

-N



More information about the R-help mailing list