From ripley at stats.ox.ac.uk  Thu Aug  4 17:30:16 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 4 Aug 2005 16:30:16 +0100 (BST)
Subject: [Rd] call fortran in R
In-Reply-To: <CADF0312-4070-40A2-A054-F38084A20FC1@UMontreal.CA>
References: <CADF0312-4070-40A2-A054-F38084A20FC1@UMontreal.CA>
Message-ID: <Pine.LNX.4.61.0508041629020.9820@gannet.stats>

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:

> 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.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] call fortran in R
Prof Brian Ripley