https://github.com/eddelbuettel/rcppexamples
Examples of using Rcpp to interface R and C++
https://github.com/eddelbuettel/rcppexamples
cpp cpp11 cran examples package r rcpp
Last synced: 12 months ago
JSON representation
Examples of using Rcpp to interface R and C++
- Host: GitHub
- URL: https://github.com/eddelbuettel/rcppexamples
- Owner: eddelbuettel
- Created: 2016-01-22T13:34:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2025-03-17T12:40:33.000Z (about 1 year ago)
- Last Synced: 2025-04-10T01:06:32.242Z (12 months ago)
- Topics: cpp, cpp11, cran, examples, package, r, rcpp
- Language: C++
- Homepage:
- Size: 148 KB
- Stars: 47
- Watchers: 5
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
## RcppExamples: Simple Examples for Rcpp
[](https://github.com/eddelbuettel/rcppexamples/actions?query=workflow%3Aci)
[](https://www.gnu.org/licenses/gpl-2.0.html)
[](https://cran.r-project.org/package=RcppExamples)
[](https://cran.r-project.org/package=RcppExamples)
[](https://www.r-pkg.org/pkg/RcppExamples)
[](https://github.com/eddelbuettel/rcppexamples)
### About
This package regroups a couple of very simple examples for [Rcpp](https://www.rcpp.org).
A large number of more comprehensive examples are provided by the [Rcpp Gallery](https://gallery.rcpp.org).
### Installation
As the package is on [CRAN](https://cran.r-project.org), we can use the common approach of
```r
install.packages("RcppExamples")
```
### Author
Dirk Eddelbuettel and Romain Francois
### License
GPL (>= 2)