Skip to content

call fortran in R

4 messages · Jeffrey Horner, Brian Ripley, Sebastien Durand

#
Ok,

Dear all,

I have state previously, I am using mac os X tiger on a g5, using the  
last version of R 2.1.1

When I type in the terminal

nm -g ~/Desktop/Fortan_kmeans/kmeans3.so
or
nm /Users/sebas/Desktop/Fortan_kmeans/kmeans3.so | grep ' T '

Nothing appears on my screen

When I type

nm  ~/Desktop/Fortan_kmeans/kmeans3.so

this is what I get:

00000fe0 t __dyld_func_lookup
00000000 t __mh_bundle_header
00001000 d dyld__mh_bundle_header
00001008 s dyld_func_lookup_pointer
00001004 s dyld_lazy_symbol_binding_entry_point
00000fb0 t dyld_stub_binding_helper


By the way, yes I have tried
     is.loaded("wrapper") ?
And is always return FALSE

S.
#
S?bastien Durand wrote:
Well, to Prof. Ripley's point, you never stated that you were running OS 
X, just a mac G5. Linux also runs on a G5.

Learn much, you will, from Master Ripley...
#
So the problem IS that your symbol is not exported by your shared object, 
and you need advice on the tools you are using (not R).
On Thu, 4 Aug 2005, S?bastien Durand wrote:

            

  
    
#
You are totally write I will learn and already did learn more than  
much with master Ripley replies.

Thus I do still state that I mentionned that I was using mac os x in  
a message that was scrubbed (???) see Duncan Murdoch reply for  
proof...  ;)

Any how next time I will make sure it shows in the initial message.

Meanwhile I will still look around to find an answer to my problem.

Thanks