[R] Building a dll for windows

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Sep 19 14:34:41 CEST 2001

Peter Dalgaard BSA wrote:
> Victor Moreno <v.moreno at ico.scs.es> writes:
> > This is a recurrent question but could not find the answer in the
> > documentation.
> >
> > I want to build a dll for windows from a fortran program to be loaded with
> > dyn.load. I can do it easily for linux with: g77 -shared -o foo.dll foo.f
> >
> > The g77 compiler (mingw-1.01) for windows does not recognise the -shared
> > option.
> >
> > In windows the Writing extensions manual tells to use Rcmd SHLIB but I can't
> > find Rcmd
> >
> > Any help would be appreciated.
> Rcmd SHLIB is exactly for sorting out these OS differences.
> Rcmd.exe should be sitting in the same directory as Rgui.exe. I'm not
> quite sure whether it is selectable during installation.

If installing from the SteupR.exe Wizard, you can choose "source package
installation files". 

> Did you read
> http://www.stats.ox.ac.uk/pub/Rtools/ ?
> You might also want to have a look at the readme.packages file in the
> top R directory.
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