Re: [Rd] how to install header files in package

2008-06-13 Thread Prof Brian Ripley
On Fri, 13 Jun 2008, Kjell Konis wrote: Here's what I'm doing: I define some C functions in pkgA and register them with R_RegisterCCallable and I want to use them in pkgB. When building pkgB, R CMD INSTALL expects to find the header files for the registered C functions in pkgA*/include (where

Re: [Rd] how to install header files in package

2008-06-13 Thread Kjell Konis
Here's what I'm doing: I define some C functions in pkgA and register them with R_RegisterCCallable and I want to use them in pkgB. When building pkgB, R CMD INSTALL expects to find the header files for the registered C functions in pkgA*/include (where the * denotes the installed version o

Re: [Rd] how to install header files in package

2008-06-13 Thread Seth Falcon
* 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

Re: [Rd] how to install header files in package

2008-06-13 Thread Bill Dunlap
On Fri, 13 Jun 2008, 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/Ma

Re: [Rd] how to install header files in package

2008-06-13 Thread Dirk Eddelbuettel
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 show

[Rd] how to install header files in package

2008-06-13 Thread Kjell Konis
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? Thanks. Kjell __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel