many Thanks to Mike Prager and José Fernández Menéndez  for your help. I tried what Mike suggested in various ways but the problem is still there. Jose's solution worked beautifully in producing a dll. After dyn.load() the dll, however, is.loaded() gives me a false answer. I still need to investigate this later part. Progress has been made, nevertheless.

Jason

from http://gcc.gnu.org/wiki/GfortranFAQ:


Gfortran creates a file namemod= for each module name. This confuses the gnu make, which thinks that .mod
files are Modula2 source code files. You must override this built-in
rule by adding the following line somewhere in your Makefile. 

%.o : %.mod
 
hope this helps!!!



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.









	[[alternative HTML version deleted]]

