[R] help for calling a c program in the windows version R

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu May 22 20:11:39 CEST 2003

gxx4 at cwru.edu wrote:
> Hi, all:
> I want to call a c program in the windows version R, so I compiled it in VC to get the dll file and use the command “dyn.load” to call it in R. There is no error appeared for this command, but when I use the command “ is.loaded” to check, it shows that dll file isn’t be loaded. Does anyone have same experience or know the correct way to do it?
> Best wishes,
> Guan Xing
> 5/22/03

I never used VC (Mingw's gcc is recommended), but I can tell you that
there is some information in .../src/gnuwin32/readme.packages and I
think also in Venables&Ripley (2000): S Programming, Springer (but not
sure about that, since the latter is in my office).

Uwe Ligges

More information about the R-help mailing list