[Rd] Problem with dyn.load...or else...

Thomas Lumley tlumley at u.washington.edu
Thu Jul 7 01:43:23 CEST 2005


On Wed, 6 Jul 2005, [iso-8859-1] Marie-Hélène  Ouellette wrote:

> And try to use the function:
> > K_MEANSR(tab,centers=c(2,4))
> [1] "AA"
> [1] "AAA"
> [1] "A"
> [1] "B"
> Error in .C("K_MEANSC", xrows = as.integer(xrows), xcols =
> as.integer(xcols),  :
>         "C" function name not in load table
>

Hmm. Strange.  R doesn't think your C function is called K_MEANSC (I 
assume that K_MEANSC *is* actually the name of your C function.)

In a Terminal window you can use
   nm K_MEANSC.so
to see all the names of externally visible objects in your DLL. This would 
narrow down whether the change of names is happening in R or in 
compilation.

 	-thomas



More information about the R-devel mailing list