[Rd] non user-friendly error for chol2inv functions

From: christophe dutang <dutangc_at_gmail.com>
Date: Fri, 29 Aug 2008 12:44:18 +0200


In function chol2inv with the option LINPACK set to false (default), it raises an error when the matrix is 1x1 matrix (i.e. just a real) saying

'a' must be a numeric matrix

This error is raised by the underlying C function (modLa_chol2inv in function Lapack.c). Everything is normal, but I wonder if we could have another behavior when we pass a 1x1 matrix. I spent time this morning finding where was the error, and it was this "problem".

Thanks in advance


        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 29 Aug 2008 - 10:45:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Aug 2008 - 13:38:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive