[R] Using LAPACK in C-code to be loaded in R - getting-started-help

From: Søren Højsgaard <Soren.Hojsgaard_at_agrsci.dk>
Date: Tue 21 Feb 2006 - 08:59:45 EST

I want to speed up computations (involving matrices) by writing some C-code to be loaded. In the C-code, I need to invert matrices etc. As I've understood the "writing R extensions" doc, I can use use #include <R_ext/Linpack.h> in my .c-file and get access to linpack's facilities within my C-code.  

Is that correct?  

If so, can anyone point me to examples on how this is actually done in practice?  

Best regards

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 21 09:46:46 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:38 EST