[R] prcomp: error code 17 from Lapack routine dgesdd

Douglas Bates bates at stat.wisc.edu
Wed Jan 14 16:56:00 CET 2004


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 ?




More information about the R-help mailing list