Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thisisnic/cpp_in_r

Experimenting with including C++ in R packages
https://github.com/thisisnic/cpp_in_r

Last synced: 1 day ago
JSON representation

Experimenting with including C++ in R packages

Awesome Lists containing this project

README

        

# C++ in R

Repository contents:

| Directory | Description | Rcpp | cpp11
| ----------- | ----------- | --------- | -----------|
| [`./cpp11One`](https://github.com/thisisnic/cpp_in_r/tree/main/cpp11One) | a minimal example of using C++ in an R package via the [cpp11](https://cpp11.r-lib.org/) package | | X |
| [`./cpp11SimpleFuncs`](https://github.com/thisisnic/cpp_in_r/tree/main/cpp11SimpleFuncs) | a slightly less minimal example; includes examples of inputs and outputs, for loops, conditionals, using the `.size()` method on a vector, using functions from the C++11 standard library | | X |
| [`./cpp11DataTypes`](https://github.com/thisisnic/cpp_in_r/tree/main/cpp11DataTypes) | example functions for working with different data types in cpp11 | | X |
| [`./RcppOne`](https://github.com/thisisnic/cpp_in_r/tree/main/RcppOne) | a minimal example of using C++ in an R package via the Rcpp package | X | |
| [`./convolve`](https://github.com/thisisnic/cpp_in_r/tree/main/convolve) | an R package containing both C and C++ (via Rcpp) code that do the same thing | X | |