BH: Boost Headers for R Packages
The BH package provides R
with access to
header files. Boost
provides free peer-reviewed portable C++ source libraries. A large part of
is provided as C++ template code which is
resolved entirely at compile-time without linking.
This package aims to provide a subset of the
libraries for template use among CRAN
packages. By placing these libraries in this package, we aim ti offer a more
efficient distribution system for CRAN as replication of this code in the
sources of other packages is avoided.
The package can be used via the
field in the
DESCRIPTION field of an R package --- and the R package infrastructure tools
will then know how to set include flags correctly on all architectures
supported by R.
Note that this can be used solely by headers-only
libraries. This covers most of
, but excludes some libraries which
require linking for parts or all of their functionality.
Several posts at the Rcpp Gallery
use of Boost
with R via
See the Boost tag page
the complete list.
Where do I get it
The package is available
BH is written by Dirk Eddelbuettel, Jay Emerson and Michael Kane; and is now
maintained by Dirk Eddelbuettel.
BH is licensed under the BOOST Software License, Version 1.0 (BSL-1.0)