[R] Problem with new(er) R version's matrix package

Werner W.
Fri, 25 Apr 2014 16:17:36 -0000

Dear Rs,

I am re-executing some older code. It does work in the ancient R 2.12.0 which I
still have on my PC but with the new version R 3.1.0 it does not work any more
(but some other new stuff, which won't work with 2.12).

The problem arises in context with the systemfit package using the matrix
package. In R 3.1.0 the following error is thrown:
Error in as.matrix(solve(W, tol = solvetol)[1:ncol(xMat), 1:ncol(xMat)]) : error
in evaluating the argument 'x' in selecting a method for function
'as.matrix': Error in .solve.sparse.dgC(as(a, "dgCMatrix"), b
= b, tol = tol) : LU computationally singular: ratio of extreme entries in
|diag(U)| = 7.012e-39

However, I have no clue what I can do about this. Was there some change in the
defaults of the matrix package? I couldn't find anything apparent in the
changelog. As the same code works in R 2.12.0, I suppose that the problem is not
my data.

If anyone has an idea about this, I would really appreciate your hints.

Thanks!
Werner

	[[alternative HTML version deleted]]