[Rd] C Entry Points

Seth Falcon sfalcon at fhcrc.org
Thu Aug 3 06:46:36 CEST 2006


Qsabound <gdwall at ucdavis.edu> writes:

> Thanks for the help Thomas:
>
> Here's my output. I'll do some reading to determine what this implies.. 
>
> nm myPackage.so | grep fifrt
> 000006e4 T fifrt

That indicates that your fifrt function is in the shared library.  I
suspect the issue you are seeing is related to the registration (or
lack) of native routines.

Try having a look at the Writing R Extensions manual:
http://cran.r-project.org/doc/manuals/R-exts.html#Registering-native-routines

After loading your package, use getLoadedDLLs() to verify that your
.so is actually getting loaded.

Then have a look at:

getDLLRegisteredRoutines("YOUR_PACKAGE")

To see what is getting registered.

+ seth



More information about the R-devel mailing list