[R] making a dll for windows eviornment for R

Duncan Murdoch murdoch at stats.uwo.ca
Fri Apr 25 21:34:47 CEST 2008


On 4/25/2008 1:12 PM, Vidhu Choudhary wrote:
> Hi All,
>  I have a .c file and I need to make a dll so that it could be called by R.
> I have successfully made .so from .c file and its working great. But i have
> no clue of making dll. I tried googling for help ...but not much of use
> 
> Please suggest something

Take a look at the Writing R Extensions manual.  Lots of detail there.

Quick version: Install Rtools, put Rtools/bin first on your path, the 
other tools somewhere on it, then just do as you do anywhere else.

Duncan Murdoch



More information about the R-help mailing list