Skip to content
Prev 45318 / 63424 Next

compiling C code using headers from another R package

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 install eiR without also having to 
install GSL before hand. The target audience is people in bioinformatics 
who may not how to install something like GSL. It seems like what I was 
suggesting is not such a good idea, if it will be hard to reliably find 
the header files from another R package. I could also push all of GSL 
into eiR, but as GSL has over 5000 files, this makes the package very 
large ( >22 MB) and  slow to compile. Both of which are a problem when 
submitting a package to bioconductor. It may very well be that leaving 
GSL as an external dependency to eiR is really the best and easiest way, 
but I just wanted to see if there was any way to make it easier for the 
user. So, any other suggestions about how this could be accomplished?  
Thanks.

Kevin
On 03/12/2013 05:26 AM, Simon Urbanek wrote: