Re: [Rd] How to use a C code in R

2005-01-20 Thread Prof Brian Ripley
LAPACK is in Fortran. See `Writing R Extensions' from the definition of what $(LAPACK_LIBS) provides, and for details of the corresponding C headers. There are lot of examples amongst CRAN packages of calling LAPACK from C. On Thu, 20 Jan 2005 [EMAIL PROTECTED] wrote: I have a c code which uses

[Rd] How to use a C code in R

2005-01-20 Thread xt_wang
hello, I have a c code which uses clapack. I want to integrate R with this code. It said that I create a R package including my c code. Then build it with putting PKG_LIBS = $(LAPACK_LIBS). I want to know the interface LAPACK_LIBS is Fortran or C? If it is written in Fortran, how can I build them