eddelbuettel / bh

R package providing Boost Header files
85 stars 33 forks source link

Do you have any plan to add "Geometry" library in BH? #5

Closed teramonagi closed 9 years ago

teramonagi commented 9 years ago

Dear Mr. Eddelbuettel:

Thank you for updating great libraries(Rcpp, RInside, RQuantLib etc).

I could not find Boost::Geometry in BH when I tried to use it.

I can easily imagine that you did not add it for its simplicity. Can I ask you that you have any plan to add "Geometry" library in BH in the near future?

eddelbuettel commented 9 years ago

Hi there.

We generally add 'as needed' (and on requests such as this), and if 'header-only'.

Geometry could be added as it appears to be header only. What package do you need it for? Something you are working on, or something already on CRAN?

teramonagi commented 9 years ago

Thanks for your quick reply!!!

Actually speaking, I just want to write my own wrapper-code(or package) using Boost::Geometry because there is the "R-tree" algorithm implemented In this boost library.

I already checked whether this algorithm was implemented in the other R libraries or not. And I realized that there is no packages to implement it.

eddelbuettel commented 9 years ago

Sounds good.

I may get to it this weekend. If you then feel like contributing an example using Boost Geometry to the Rcpp Gallery, I would be more than happy to review it.

eddelbuettel commented 9 years ago

It will be in the next release which should be on CRAN within a day or two. Thanks again for the suggestion.

teramonagi commented 9 years ago

Thanks, I’m looking forward to it !

eddelbuettel commented 9 years ago

In case you want to play now, just clone the repo and running 'R CMD build bh' should give you something extremely close to what CRAN will get. I tested on all 31 CRAN packages using BH and no (new) issues.