Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
On 03/12/2013 02:15 PM, Simon Urbanek wrote: On Mar 12, 2013, at 4:56 PM, Hervé Pagès wrote: On 03/12/2013 12:53 PM, Simon Urbanek wrote: On Mar 12, 2013, at 3:35 PM, Hervé Pagès wrote: On 03/12/2013 11:56 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: On

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
On 03/12/2013 02:14 PM, Dirk Eddelbuettel wrote: On 12 March 2013 at 13:56, Hervé Pagès wrote: | The reason I'm interested in clarifying this is that we are facing | a similar situation with other libraries (e.g. the BOOST library) | used by some Bioconductor packages. Right now, each Bioconduct

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Kevin Horan
On 03/12/2013 09:55 AM, Simon Urbanek wrote: On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: Thanks for your input. To clarify, I don't need to use any part of GSL in my R code, nor do I wish to make any part of it accessible to users of eiR. I need it to compile other C/C++ code (LSH

[Rd] compiling C code using headers from another R package

2013-03-12 Thread Kevin Horan
Thanks for your input. To clarify, I don't need to use any part of GSL in my R code, nor do I wish to make any part of it accessible to users of eiR. I need it to compile other C/C++ code (LSH KIT), which I did not write, that will itself be used in eiR. My goal is allow the user to in

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
On Mar 12, 2013, at 4:56 PM, Hervé Pagès wrote: > > > On 03/12/2013 12:53 PM, Simon Urbanek wrote: >> >> On Mar 12, 2013, at 3:35 PM, Hervé Pagès wrote: >> >>> >>> >>> On 03/12/2013 11:56 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: > On 03/1

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Dirk Eddelbuettel
On 12 March 2013 at 13:56, Hervé Pagès wrote: | The reason I'm interested in clarifying this is that we are facing | a similar situation with other libraries (e.g. the BOOST library) | used by some Bioconductor packages. Right now, each Bioconductor | package includes its own version of the BOOST

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
On 03/12/2013 12:53 PM, Simon Urbanek wrote: On Mar 12, 2013, at 3:35 PM, Hervé Pagès wrote: On 03/12/2013 11:56 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: On 03/12/2013 11:09 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: Hi,

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
On Mar 12, 2013, at 3:35 PM, Hervé Pagès wrote: > > > On 03/12/2013 11:56 AM, Simon Urbanek wrote: >> >> On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: >> >>> On 03/12/2013 11:09 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: > Hi, > >

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
On 03/12/2013 11:56 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: On 03/12/2013 11:09 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: Hi, On 03/12/2013 09:55 AM, Simon Urbanek wrote: On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote:

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
On Mar 12, 2013, at 2:48 PM, Hervé Pagès wrote: > On 03/12/2013 11:09 AM, Simon Urbanek wrote: >> >> On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: >> >>> Hi, >>> >>> On 03/12/2013 09:55 AM, Simon Urbanek wrote: On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: > >

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
On 03/12/2013 11:09 AM, Simon Urbanek wrote: On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: Hi, On 03/12/2013 09:55 AM, Simon Urbanek wrote: On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: Thanks for your input. To clarify, I don't need to use any part of GSL in my R code, nor do

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Dirk Eddelbuettel
On 12 March 2013 at 11:01, Hervé Pagès wrote: | Anyway, to answer Kevin's original question: | |how do I know where the GSL library and header files, packaged |in GSLR, would live so I can point the compiler at them? | | Use the LinkingTo field. Nope. Only covers the case of include fil

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
On Mar 12, 2013, at 2:01 PM, Hervé Pagès wrote: > Hi, > > On 03/12/2013 09:55 AM, Simon Urbanek wrote: >> >> On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: >> >>> >>>Thanks for your input. To clarify, I don't need to use any part of GSL >>> in my R code, nor do I wish to make any part

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Hervé Pagès
Hi, On 03/12/2013 09:55 AM, Simon Urbanek wrote: On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: Thanks for your input. To clarify, I don't need to use any part of GSL in my R code, nor do I wish to make any part of it accessible to users of eiR. I need it to compile other C/C++ code

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
On Mar 12, 2013, at 12:30 PM, Kevin Horan wrote: > >Thanks for your input. To clarify, I don't need to use any part of GSL in > my R code, nor do I wish to make any part of it accessible to users of eiR. I > need it to compile other C/C++ code (LSH KIT), which I did not write, that > will

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Dirk Eddelbuettel
On 12 March 2013 at 08:26, Simon Urbanek wrote: | Kevin, | | On Mar 11, 2013, at 5:20 PM, Kevin Horan wrote: | | > | > I am developing an R package, eiR, which depends on another C library, GNU scientific library (GSL). In order to make life easier for the user, it would be nice to not have

Re: [Rd] compiling C code using headers from another R package

2013-03-12 Thread Simon Urbanek
Kevin, On Mar 11, 2013, at 5:20 PM, Kevin Horan wrote: > > I am developing an R package, eiR, which depends on another C library, GNU > scientific library (GSL). In order to make life easier for the user, it would > be nice to not have this as an external dependency, thus I would like to wrap

[Rd] compiling C code using headers from another R package

2013-03-12 Thread Kevin Horan
I am developing an R package, eiR, which depends on another C library, GNU scientific library (GSL). In order to make life easier for the user, it would be nice to not have this as an external dependency, thus I would like to wrap this library in another R package, say GSLR for example. Thus