[R] dyn.load a f90 module.

paul sorenson (sosman) sourceforge at metrak.com
Sun Oct 23 23:55:05 CEST 2005


Bo Peng wrote:
> Dear list,
> 
> Has there been any success in loading modules written in f90? I tried
> 
> % ifort -c myfile.f90
> % R CMD SHLIB myfile.o
> % R
> dyn.load('myfile.so')
> .Fortran('myfile')
> 
> I used intel (free) fortran compiler under linux. All commands run
> successfully except that function myfile is not loaded. (Is there a
> function/tool to list symbols in a .so file?)

If there are symbols present then unix 'nm' should show them to you.




More information about the R-help mailing list