ryszard.czerminski@pharma.novartis.com
2004-Jan-13 22:02 UTC
[R] prcomp: error code 17 from Lapack routine dgesdd
I am trying to use prcomp and I am getting this error:> p <- prcomp(xtr, retx = TRUE, center = TRUE, scale = TRUE, tol = NULL)Error in La.svd(x, nu, nv, method) : error code 17 from Lapack routine dgesdd> dim(xtr)[1] 301 2439 Does it mean that the matrix is to big ? R
Admittedly this is a rather crytic message but it means that the algorithm in dgesdd for determining the singular values did not converge. From the Lapack documentation for dgesdd INFO (output) INTEGER = 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value. > 0: DBDSDC did not converge, updating process failed. ryszard.czerminski at pharma.novartis.com writes:> I am trying to use prcomp and I am getting this error: > > > p <- prcomp(xtr, retx = TRUE, center = TRUE, scale = TRUE, tol = NULL) > Error in La.svd(x, nu, nv, method) : error code 17 from Lapack routine > dgesdd > > dim(xtr) > [1] 301 2439 > > Does it mean that the matrix is to big ?