[R] error handling in R/ lapack routines

Spencer Graves spencer.graves at pdf.com
Thu Sep 4 22:33:02 CEST 2003


	  I just did a Google search for "lapack error codes" and got several 
hits.  However, I don't know if a translation of "error code 17" would 
really help you.

	  Have you tried "fn" as a stand-alone function?  If yes, have you 
tried including a "cat" or "print" statement in it, so it prints the 
value (and maybe the arguments) before it actually returns it?  If optim 
is going to run more than a few seconds, I have "fn" print the value it 
returns.  If it returns NA. I see that, etc.

hope this helps.
spencer graves

Hae-Kyung Im wrote:
> Does any of you know where I can find an explanation of lapack errors codes?
> I get error code 17 when using optim().
> 
> Is there a way to handle errors in R such that depending on the type of 
> error I can decide what to do next?
> 
> Thanks,
> Haky
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list