[Rd] Makevars or congiure for multi platforms

Laurent Gautier lgautier at gmail.com
Sun Jun 8 12:49:09 CEST 2008


2008/6/7  <r-devel-request at r-project.org>:
>
> Message: 11
> Date: Sat, 7 Jun 2008 03:38:23 +0900
> From: "Tadashi Kadowaki" <tadakado at gmail.com>
> Subject: [Rd] Makevars or congiure for multi platforms
> To: r-devel at r-project.org
> Message-ID:
>        <dcb3073c0806061138n2f376a24r100f281ae248497a at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear all,
>
> As previously submitted, I wrote an extending pdf device to embed
> pop up text and web links.
> (Patches are available at http://pdf2.r-forge.r-project.org/patches)
>
> Now, I'm making a library version of the pdf device.
> However, with my skill, I'm not sure about writing Makevars or configure file
> for multi platforms. A following line in Makevars works on my mac,
> -----
> PKG_CFLAGS=-I/Library/Frameworks/R.framework/PrivateHeaders -DHAVE_CONFIG_H
> -----
> (Note that the PrivateHeaders directory contains Fileio.h and Defn.h)
>
> My question is,
> How do I write Makevars or congiure for Unix/Linux and Windows?
> I would like to support those platforms in my library.

You could try looking into a package that has configure, configure.win
and has built binaries for macosX and windows. Try the package 'rgl'
on CRAN, for example.


Hoping this helps,


L.



> Regards,
>
> Tadashi Kadowaki
>
>
>



More information about the R-devel mailing list