[Rcpp-devel] How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
simonqijiezhao at gmail.com
Sun Nov 3 02:35:40 CET 2013
Yeah, but as (
) said, Boost.Thread /must/ be built separately.
On 11/02/2013 11:07 PM, Jay Emerson wrote:
> If Boost.Thread is only headers, it would be a candidate to include in
> package BH. This would greatly simplify life for you and the users of
> your package.
> On Sat, Nov 2, 2013 at 9:54 AM, Simon <simonqijiezhao at gmail.com
> <mailto:simonqijiezhao at gmail.com>> wrote:
> Recently, I made an R package that used the C++ library
> (http://www.boost.org/doc/libs/1_54_0/doc/html/thread.html) for
> multithreading. Previously, I have posted a question at
> but now my questions becomes:
> 1) if I want to upload my package onto CRAN, what am I supposed to
> do with Boost.Thread?
> 2) I want to share my package with others, Must it be submitted to
> CRAN? I am not an expert, but I am trying to make my package to be
> used by the most, so I encounter these problem.
> 3) Boost is a third party library, and the separately-compiled
> library Boost.Thread is used by my package. To make a package
> stand-alone, the best way I can imagine is to include the the
> library source files under my package's src directory. What if I
> just publish my package, and tell users they should install Boost
> before their use of my package? Initially, I just want to use
> what I know about to make an R package that everyone can use,
> however, I found that to make the most to use my package, there
> are a lot to consider, though under Ubuntu, that's a lot easier,
> an apt-get command will install the Boost. The question on
> is about Windows, from the answer I am not going to struggle to
> provide support for Windows, at least now I suppose. Is it a
> common practice for the user themselves to install a third party
> library like Boost.Thread?
> Best regards,
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> <mailto:Rcpp-devel at lists.r-forge.r-project.org>
> John W. Emerson (Jay)
> Associate Professor of Statistics, Adjunct, and Director of Graduate
> Department of Statistics
> Yale University
> http://www.stat.yale.edu/~jay <http://www.stat.yale.edu/%7Ejay>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rcpp-devel