Package: cpp11 0.5.1.9000

Davis Vaughan

cpp11: A C++11 Interface for R's C Interface

Provides a header only, C++11 interface to R's C interface. Compared to other approaches 'cpp11' strives to be safe against long jumps from the C API as well as C++ exceptions, conform to normal R function semantics and supports interaction with 'ALTREP' vectors.

Authors:Davis Vaughan [aut, cre], Jim Hester [aut], Romain François [aut], Benjamin Kietzman [ctb], Posit Software, PBC [cph, fnd]

cpp11_0.5.1.9000.tar.gz
cpp11_0.5.1.9000.zip(r-4.5)cpp11_0.5.1.9000.zip(r-4.4)cpp11_0.5.1.9000.zip(r-4.3)
cpp11_0.5.1.9000.tgz(r-4.4-any)cpp11_0.5.1.9000.tgz(r-4.3-any)
cpp11_0.5.1.9000.tar.gz(r-4.5-noble)cpp11_0.5.1.9000.tar.gz(r-4.4-noble)
cpp11_0.5.1.9000.tgz(r-4.4-emscripten)cpp11_0.5.1.9000.tgz(r-4.3-emscripten)
cpp11.pdf |cpp11.html
cpp11/json (API)
NEWS

# Install 'cpp11' in R:
install.packages('cpp11', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/r-lib/cpp11/issues

Pkgdown site:https://cpp11.r-lib.org

On CRAN:

cppcpp11

17.46 score 206 stars 8.4k packages 104 scripts 718k downloads 5 exports 0 dependencies

Last updated 6 days agofrom:2938879645. Checks:7 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKJan 16 2025
R-4.5-winOKJan 16 2025
R-4.5-linuxOKJan 16 2025
R-4.4-winOKJan 16 2025
R-4.4-macOKJan 16 2025
R-4.3-winOKJan 16 2025
R-4.3-macOKJan 16 2025

Exports:cpp_evalcpp_functioncpp_registercpp_sourcecpp_vendor

Dependencies:

Converting from Rcpp

Rendered fromconverting.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-07-26
Started: 2020-06-10

cpp11 internals

Rendered frominternals.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-07-28
Started: 2020-06-10

FAQ

Rendered fromFAQ.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-08-26
Started: 2021-07-02

Get started with cpp11

Rendered fromcpp11.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-07-26
Started: 2020-06-10

Motivations for cpp11

Rendered frommotivations.Rmdusingknitr::rmarkdownon Jan 16 2025.

Last update: 2024-08-07
Started: 2020-06-10