[R] Linking R with Fortran 90: make: m2c: Command not found

From: Jason Liao <jg_liao_at_yahoo.com>
Date: Tue 03 Oct 2006 - 13:30:15 GMT


Following the setup in Prof.Duncan Murdoch's page, I have successfully compiled the DLL for one Fortran 95 program using Gfortran and got 300 times speed boost. For the second set of fortran programs, However, I have this error message

R CMD SHLIB -o jiangang kdtree2.f90 jian.f90 gang.f90 m2c -o jian.o jian.mod
make: m2c: Command not found
make: *** [jian.o] Error 127

Can anyone point me to the direction to solve this problem. Thank you in advance.  

Jason Liao, http://www.geocities.com/jg_liaoAssociate Professor of Biostatistics Drexel University School of Public Health 245 N. 15th Street, Mail Stop 660
Philadelphia, PA 19102-1192
phone 215-762-3934



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 and provide commented, minimal, self-contained, reproducible code. Received on Tue Oct 03 23:32:30 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 03 Oct 2006 - 21:30:06 GMT.

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