[R] call c function in R

Duncan Murdoch murdoch at stats.uwo.ca
Mon Oct 16 12:25:32 CEST 2006


On 10/15/2006 11:24 PM, lan gao wrote:
> Hi,
>        I need to call a c funtion in R.I created the Dll in Visual C++.
>         And In R , I used  the dyn("path") no erro.
>        Then when I call .c ("function m=name ", parameter) it always says
> "the c entry point "product" not in load table"

Check that the entry point you specified was really exported:  VC++ 
should provide some tool for this.

Show us your R code.  If it was really

.c ("function m=name ", parameter)

then it wouldn't have given that error.

Show us the real error.
> 
>        I really need your help.

Read the posting guide, and follow the instructions there, and you'll 
get better help.

Duncan Murdoch

> Many thanks
> 
> Gao
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list