[R] Link with C code

Christopher Quale quale at statguys.dhs.org
Thu Feb 1 18:15:54 CET 2001


Patrick,

I have had good success using the lcc compiler (sorry - don't have
a link handy). It comes with a fairly complete IDE called wedit.
If you do a search for lcc-win32 you should find it. If you need
any help putting the dll "project" together, don't hesitate to email
me off list (or on if it would be helpful to others).

Chris

On Tue, 30 Jan 2001, Patrick Wendel wrote:

> 
> 
> Hello,
> 
> I am using cygwin (latest version) and I managed to generate a dll partly
> with rcmd shlib although there was a problem with both the resouce file (I
> had to remove "FILEOS VOS__WINDOWS32") and the command line for gcc
> (--shared is not supported for instance).
> 
> So I would like to know which compiler/environment you advise to use for
> windows OS.
> 
> Then I could load the library in R but couldn't call any method.
> 
> Is there a function to know which functions have been successfully imported
> ?
> 
> I've also done the dll in other ways (using gcc and dlltool as explained on
> their website and also using VC++) but I had the same result.
> 
> I suppose I missed something in the dll creation but I cannot see what.
> 
> Any idea ?
> 
> Many thanks,
> 
> Patrick Wendel
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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