Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/thisisnic/cpp_in_r
- Owner: thisisnic
- Created: 2022-01-25T09:49:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-23T11:21:10.000Z (over 2 years ago)
- Last Synced: 2024-12-03T18:52:11.749Z (about 2 months ago)
- Language: C++
- Size: 655 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 | |