[R] DLL's

james.pigott@ucd.ie james.pigott at ucd.ie
Tue Feb 23 21:45:21 CET 1999

I'm using Borland C++ for windows version 4.51 to export functions 
in a dll to R but i've encountered the following problems
--  R crashes when function has more than one parameter
--  Array subscripts in C++ code access wrong elements
--  dll is not portable to different computer .i.e R (dyn.load) will only  
    call the dll on the the machine the dll was compiled on

Does the dll need to be compiled on a particular version of C ??

I would appreciate the solution to these problem(s)  and/or perhaps 
an example of some C code.

James Pigott  
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list