Re: [R] making a dll for windows eviornment for R

From: Duncan Murdoch <>
Date: Fri, 25 Apr 2008 15:34:47 -0400

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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 25 Apr 2008 - 19:37:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Apr 2008 - 21:30:36 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive