Re: [R] Compiling C-code in Windows

From: Andreas Borg <>
Date: Tue, 31 May 2011 14:16:36 +0200

Hi Petar,

did you install the toolset (Rtools) for compiling code for R in windows? See


> Please, can anyone help me with this? Can I use: 'R CMD SHLIB
> --output=trial.dll C:\trial.c' under Linux, and expecting working DLL?
Of course not, because Windows and Linux libraries differ by more than the filename extension.

Once everything is set up, compiling in windows is pretty easy thanks to the toolset.

Good luck,


Andreas Borg
Medizinische Informatik

der Johannes Gutenberg-Universität
Institut für Medizinische Biometrie, Epidemiologie und Informatik
Obere Zahlbacher Straße 69, 55131 Mainz

Telefon +49 (0) 6131 175062

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der
richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser Mail und der darin enthaltenen Informationen ist nicht gestattet.

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 31 May 2011 - 12:19:08 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Tue 31 May 2011 - 13:30:11 GMT.

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

list of date sections of archive