E5D1 GitHub - coolbutuseless/cpp11: cpp11 is a header-only R package that helps R package developers handle R objects with C++ code. · GitHub
[go: up one dir, main page]

Skip to content

coolbutuseless/cpp11

 
 

Repository files navigation

cpp11

R build status codecov

cpp11 is a header-only R package that helps R package developers handle R objects with C++ code. Its goals and syntax are similar to the excellent Rcpp package.

Getting started

See vignette("cpp11") to get started using cpp11.

Motivations

Rcpp has been a widely successful project, however over the years a number of issues and additional C++ features have arisen. Adding these features to Rcpp would require a great deal work, or in some cases would be impossible without severely breaking backwards compatibility.

cpp11 is a ground up rewrite of C++ bindings to R with different design trade-offs and features.

Changes that motivated cpp11 include:

See vignette("motivations") for full details on the motivations for writing cpp11.

Conversion from Rcpp

See vignette("converting") if you are already familiar with Rcpp or have an existing package that uses Rcpp and want to convert it to use cpp11.

Internals

See vignette("internals") for details on the cpp11 implementation or if you would like to contribute to cpp11.

Thanks

cpp11 would not exist without Rcpp. Thanks to the Rcpp authors, Dirk Eddelbuettel, Romain Francois, JJ Allaire, Kevin Ushey, Qiang Kou, Nathan Russell, Douglas Bates and John Chambers for their work writing and maintaining Rcpp.

About

cpp11 is a header-only R package that helps R package developers handle R objects with C++ code.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 87.0%
  • R 12.7%
  • Other 0.3%
0