Skip to content

prcomp: error code 17 from Lapack routine dgesdd

2 messages · ryszard.czerminski@pharma.novartis.com, Douglas Bates

#
I am trying to use prcomp and I am getting this error:
Error in La.svd(x, nu, nv, method) : error code 17 from Lapack routine 
dgesdd
[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: