From seth at userprimary.net  Fri Jun 13 17:16:06 2008
From: seth at userprimary.net (Seth Falcon)
Date: Fri, 13 Jun 2008 08:16:06 -0700
Subject: [Rd] how to install header files in package
In-Reply-To: <18514.30939.151586.554494@ron.nulle.part>
References: <C71798B1-3A0E-4EA3-A079-51C5DF34C6BE@epfl.ch>
	<18514.30939.151586.554494@ron.nulle.part>
Message-ID: <20080613151606.GL351@ziti.local>

* On 2008-06-13 at 08:40 -0500 Dirk Eddelbuettel wrote:
> On 13 June 2008 at 14:28, Kjell Konis wrote:
> | Is there a way to get R CMD INSTALL (and friends) to copy the header  
> | files from a source package's src directory to the include directory?
> 
> Only if you (ab-)use the 'make all' target in src/Makefile to copy
> them, as a recent thread on r-devel showed.  Some of us suggested
> that a 'make install' target would be a nice thing to have.

Can you elaborate on the use case?  If the desire is to allow pkgB to
access header files provided by pkgA, then you can use the LinkingTo
field in the DESCRIPTION file as described in Writing R Extensions
in the "Registering native routines" section.

+ seth

-- 
Seth Falcon | http://userprimary.net/user/



[Rd] how to install header files in package
Seth Falcon