Re: [Rd] R package compilation: files in src directory should be ignored if C library is not available

2012-08-17 Thread Cule, Erika
Dirk Eddelbuettel and Uwe Ligges for helping me with this. Erika > > > On 17/08/2012 10:11, Cule, Erika wrote: >> I have written an R package which contains C source code (in the directory >> pkg/src). >> >> Only a subset of the functions in the pkg/R direct

Re: [Rd] R package compilation: files in src directory should be ignored if C library is not available

2012-08-17 Thread Cule, Erika
Ah I see! Had not thought of that solution. (This is the first time I have tried to use autoconf and configure) Many thanks. Erika On 17 Aug 2012, at 13:04, Dirk Eddelbuettel wrote: > > On 17 August 2012 at 11:44, Cule, Erika wrote: > | If so, I still don't understand what

Re: [Rd] R package compilation: files in src directory should be ignored if C library is not available

2012-08-17 Thread Cule, Erika
But will package compilation fail if GSL is not installed? (There are files in the src directory that are needed for the code to run) On 17 Aug 2012, at 12:47, Uwe Ligges wrote: > > > On 17.08.2012 13:44, Cule, Erika wrote: >> Thanks Uwe >> >> I am not quite s

Re: [Rd] R package compilation: files in src directory should be ignored if C library is not available

2012-08-17 Thread Cule, Erika
, Uwe Ligges wrote: > > > On 17.08.2012 11:11, Cule, Erika wrote: >> I have written an R package which contains C source code (in the directory >> pkg/src). >> >> Only a subset of the functions in the pkg/R directory contain a .C() call to >> the functions in

[Rd] R package compilation: files in src directory should be ignored if C library is not available

2012-08-17 Thread Cule, Erika
I have written an R package which contains C source code (in the directory pkg/src). Only a subset of the functions in the pkg/R directory contain a .C() call to the functions in the pkg/src directory. The rest of the package will still work and be useful without the functions containing a .C(