Re: [Rcpp-devel] optionally linking to external libraries

2015-06-09 Thread Dirk Eddelbuettel
On 9 June 2015 at 06:24, Dirk Eddelbuettel wrote: | | I'm trying to find a way to provide the additional functionality without | | forcing the user to install these dependencies. On Linux/Mac a possible | | way to do that would be to use autoconf, but from what I read Windows | | support is goi

Re: [Rcpp-devel] optionally linking to external libraries

2015-06-09 Thread Dirk Eddelbuettel
On 9 June 2015 at 09:38, Simon Barthelmé wrote: | Dear list, | | I've been working on an image processing package for R | (https://github.com/dahtah/imager) that uses Rcpp to provide an | interface to the CImg library. | | Cimg is contained in just one header file, which makes it easy to ship

Re: [Rcpp-devel] optionally linking to external libraries

2015-06-09 Thread Simon Barthelmé
Hi Yixuan That's very interesting, I didn't know Cairo used that trick. I'll look into it, many thanks! Simon Le 09/06/2015 10:28, Yixuan Qiu a écrit : Hi Simon, As far as I know CRAN provides all the libraries you listed except OpenCV (http://cran.r-project.org/bin/windows/contrib/ThirdPa

Re: [Rcpp-devel] optionally linking to external libraries

2015-06-09 Thread Yixuan Qiu
Hi Simon, As far as I know CRAN provides all the libraries you listed except OpenCV ( http://cran.r-project.org/bin/windows/contrib/ThirdPartySoftware.html). If you intend to publish your package to CRAN and let CRAN build the Windows version, I suppose you can directly make use of those libraries.

[Rcpp-devel] optionally linking to external libraries

2015-06-09 Thread Simon Barthelmé
Dear list, I've been working on an image processing package for R (https://github.com/dahtah/imager) that uses Rcpp to provide an interface to the CImg library. Cimg is contained in just one header file, which makes it easy to ship with an R package. It is relatively self-contained, but some