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++11' 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.
| Version: | 0.4.0 |
| Depends: | R (≥ 4.0.0) |
| Imports: | decor, desc, glue, tibble, tools, utils, vctrs, withr |
| Suggests: | mockery, roxygen2, testthat (≥ 3.2.0) |
| Published: | 2025-12-04 |
| DOI: | 10.32614/CRAN.package.cpp4r |
| Author: | Mauricio Vargas Sepulveda
|
| Maintainer: | Mauricio Vargas Sepulveda <m.vargas.sepulveda at gmail.com> |
| BugReports: | https://github.com/pachadotdev/cpp4r/issues |
| License: | Apache License (≥ 2) |
| URL: | https://cpp4r.org, https://github.com/pachadotdev/cpp4r |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | cpp4r results |
| Reference manual: | cpp4r.html , cpp4r.pdf |
| Package source: | cpp4r_0.4.0.tar.gz |
| Windows binaries: | r-devel: cpp4r_0.4.0.zip, r-release: cpp4r_0.4.0.zip, r-oldrel: cpp4r_0.4.0.zip |
| macOS binaries: | r-release (arm64): cpp4r_0.4.0.tgz, r-oldrel (arm64): cpp4r_0.4.0.tgz, r-release (x86_64): cpp4r_0.4.0.tgz, r-oldrel (x86_64): cpp4r_0.4.0.tgz |
| Old sources: | cpp4r archive |
| Reverse imports: | armadillo4r |
| Reverse linking to: | economiccomplexity, kendallknight, leontief, lotri, redatam |
Please use the canonical form https://CRAN.R-project.org/package=cpp4r to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.