On 31/01/2015 14:15, eigen wrote:
Hi,

I got an error message in my program saying

"Error in eigen(gene_intersection.kernel) :
   error code 1 from Lapack routine 'dsyevr'
Execution halted".

As you see, I was trying to compute the eigenvalues of a matrix but got this
error. Is there anyone who knows what this error means and how I can fix it?

The help page for eigen says

Source:

     By default ‘eigen’ uses the LAPACK routines ‘DSYEVR’, ‘DGEEV’,
     ‘ZHEEV’ and ‘ZGEEV’

     LAPACK is from <URL: http://www.netlib.org/lapack> and its guide
     is listed in the references.

You need to consult that guide and/or the source code: all I saw at a cursory look was

*> \param[out] INFO
*> \verbatim
*>          INFO is INTEGER
*>          = 0:  successful exit
*>          < 0:  if INFO = -i, the i-th argument had an illegal value
*>          > 0:  Internal error
*> \endverbatim

so it means 'internal error'.

Theoretically the eigenvalues should be nonnegative, if it helps.

Thank you!

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
1 South Parks Road, Oxford OX1 3TG, UK

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to