Re: [R] Compiling C-code in Windows

From: Andreas Borg <andreas.borg_at_unimedizin-mainz.de>
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

http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset

and

http://www.murdoch-sutherland.com/Rtools/

> 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

-- 
Andreas Borg
Medizinische Informatik

UNIVERSITÄTSMEDIZIN
der Johannes Gutenberg-Universität
Institut für Medizinische Biometrie, Epidemiologie und Informatik
Obere Zahlbacher Straße 69, 55131 Mainz
www.imbei.uni-mainz.de

Telefon +49 (0) 6131 175062
E-Mail: borg_at_imbei.uni-mainz.de

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.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive