The package makes C++ Standard Template Library containers interactively usable in R.
A brief summary of the discussion in the vignette:
- Speed up development workflows.
- Use C++ data structures without a compiler.
- Make C++ containers easily accessible to R users.
- Push R towards general purpose language.
- Bring performance of C++ containers to R.
An installation from source requires compilation. On Windows, you must, therefore, have Rtools installed.
Install the package from GitHub:
devtools::install_github("cdueben/cppcontainers", build_vignettes = T)
On various operating systems, you can skip the compilation step by installing the binary package from CRAN:
install.packages("cppcontainers")
New users may want to consult the vignette for an introduction to the package. It, e.g., briefly introduces the container types and lists which method applies to which class.
You are welcome to contribute by reporting issues on GitHub or by extending the package through pull requests. Guidelines on coding style and project organization are in inst/guidelines.md.