[Rd] Lapack calls from fortran

From: Paul Gilbert <pgilbert_at_bank-banque-canada.ca>
Date: Wed 22 Jun 2005 - 15:09:55 GMT


I am trying to call the lapack routine dgesv in the R distribution from the fortran code for a package, but when I dyn.load("dse1.so") I get an error about undefined symbol: dgesv_

I thought the proper incantation was

MAKEFLAG="FLIBS=/path to/R-2.1.1/libRlapack.so" R CMD SHLIB dse1.f

but apparantly not. How does one do this?

Thanks,
Paul



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Jun 23 01:21:51 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:09 GMT