[R] error in La.svd Lapack routine 'dgesdd'

Douglas Bates bates at stat.wisc.edu
Tue May 4 15:32:03 CEST 2010

Google the name dgesdd to get the documentation where you will find
that  the error code indicates that the SVD algorithm failed to
converge.  Evaluation of the singular values and vectors is done via
an iterative optimization and on some occasions will fail to converge.
 Frequently this is related to the scaling of the matrix.  If some
rows or columns are a very large magnitude relative to others the
convergence of the optimization can be impeded.

Providing a reproducible example of such an error condition will help
in diagnosing what is happening.

If you wonder why the error message is so enigmatic, it is because the
underlying code is Fortran and does not provide much flexibility for
informative error trapping.

On Tue, May 4, 2010 at 1:24 AM, steven mosher <moshersteven at gmail.com> wrote:
> Error in La.svd(x, nu, nv) : error code 1 from Lapack routine ‘dgesdd’
> what resources are there to track down errors like this
>        [[alternative HTML version deleted]]
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list