Package: cpp4r 1.0.0
cpp4r: Header-Only 'C++' and 'R' Interface
Provides a header only, 'C++' interface to 'R' with enhancements over 'cpp11'. Enforces copy-on-write semantics consistent with 'R' behavior. Offers native support for ALTREP objects, 'UTF-8' string handling, modern 'C++' features and idioms, and reduced memory requirements. Allows for vendoring, making it useful for restricted environments. Compared to 'cpp11', it adds support for converting 'C++' maps to 'R' lists, 'Roxygen' documentation directly in 'C++' code, proper handling of matrix attributes, support for nullable external pointers, bidirectional copy of complex number types, flexibility in type conversions, use of nullable pointers, and various performance optimizations.
Authors:
cpp4r_1.0.0.tar.gz
cpp4r_1.0.0.tar.gz(r-4.7-any)cpp4r_1.0.0.tar.gz(r-4.6-any)
cpp4r_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
cpp4r/json (API)
NEWS
| # Install 'cpp4r' in R: |
| install.packages('cpp4r', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pachadotdev/cpp4r/issues
Last updated from:fc47849b4d. Checks:4 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 104 | ||
| source / vignettes | OK | 146 | ||
| linux-release-x86_64 | OK | 87 | ||
| wasm-release | OK | 86 |
Exports:pkg_templateregisterunvendorvendor
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Start a new project with the cpp4r package template | pkg_template |
| Generates wrappers for registered C++ functions | register |
| Unvendor the cpp4r headers | unvendor |
| Vendor the cpp4r headers | vendor |
