RInside

Seamless embedding of R in C++ programs

https://github.com/eddelbuettel/rinside

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 14 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary

Keywords

c-plus-plus cran embedded r r-package

Keywords from Contributors

literate-programming pandoc rmarkdown data-manipulation grammar rcpp
Last synced: 6 months ago · JSON representation

Repository

Seamless embedding of R in C++ programs

Basic Info
  • Host: GitHub
  • Owner: eddelbuettel
  • Language: C++
  • Default Branch: master
  • Size: 1.15 MB
Statistics
  • Stars: 142
  • Watchers: 9
  • Forks: 39
  • Open Issues: 0
  • Releases: 0
Topics
c-plus-plus cran embedded r r-package
Created about 12 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog

README.md

RInside: Easy embedding of R inside C++ (and C)

CI License CRAN Dependencies Debian package Downloads Last Commit

About

The RInside package provides a few classes for seamless embedding of R inside of C++ applications by relying on Rcpp.

Examples

Provided with the package itself are nine subdirectories with examples: from more than a dozen basic command-line examples (in directory standard) to graphical user-interfaces (using both Qt and Wt), linear algebra with Armadillo and Eigen, parallel computing with MPI to a sandboxed server, and (since release 0.2.16) a simple (and more limited) interface for embedding insice C applications.

The simplest example (modulo its header) is examples/standard/rinside_sample0.cpp

```c++

include // for the embedded R via RInside

int main(int argc, char *argv[]) {

RInside R(argc, argv);              // create an embedded R instance

R["txt"] = "Hello, world!\n";       // assign a char* (string) to 'txt'

R.parseEvalQ("cat(txt)");           // eval the init string, ignoring any returns

exit(0);

} ``` The Qt example directory produces this application for showing how to use R (to estimate densities) inside a C++ executable (providing the GUI):

The code is portable across operating systems. Similar, the Wt example directory contains this C++-based web application doing the same:

See Also

The RInside web page has some more details.

Authors

Dirk Eddelbuettel, Romain Francois, and Lance Bachmeier

License

GPL (>= 2)

Owner

  • Name: Dirk Eddelbuettel
  • Login: eddelbuettel
  • Kind: user
  • Location: Chicago, IL, USA

GitHub Events

Total
  • Issues event: 3
  • Watch event: 8
  • Issue comment event: 6
  • Push event: 5
Last Year
  • Issues event: 3
  • Watch event: 8
  • Issue comment event: 6
  • Push event: 5

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 388
  • Total Committers: 14
  • Avg Commits per committer: 27.714
  • Development Distribution Score (DDS): 0.193
Past Year
  • Commits: 5
  • Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Dirk Eddelbuettel e****d@d****g 313
Romain François r****n@r****m 45
Christian Authmann a****c@m****e 11
Kevin Ushey k****y@g****m 4
Joris Goosen j****s@j****l 4
Mattias Ellert m****t@f****e 2
Jonathon Love j****n@t****c 2
Łukasz Łaniewski-Wołłk l****i@g****m 1
fradav f****v@g****m 1
Zé Vinícius j****a@g****m 1
Peter Aberline p****e@g****m 1
Jeroen Ooms j****s@g****m 1
Dominick d****i@g****m 1
Stefan Theussl s****l@w****t 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 37
  • Total pull requests: 23
  • Average time to close issues: 13 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 34
  • Total pull request authors: 12
  • Average comments per issue: 3.78
  • Average comments per pull request: 3.3
  • Merged pull requests: 21
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: 27 minutes
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 1.67
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • eddelbuettel (2)
  • RLWOHIO (2)
  • felipedevargas (2)
  • batuhanaman (1)
  • binonteji (1)
  • TengMCing (1)
  • moondog1969 (1)
  • zhaofeng-shu33 (1)
  • FraDiavolo7 (1)
  • MSCypher (1)
  • jeroen (1)
  • lgbaldoni (1)
  • kevinushey (1)
  • rspadim (1)
  • richelbilderbeek (1)
Pull Request Authors
  • eddelbuettel (6)
  • cauthmann (4)
  • jonathon-love (2)
  • JorisGoosen (2)
  • kevinushey (2)
  • ellert (1)
  • JATC1024 (1)
  • mirca (1)
  • djsamperi (1)
  • jeroen (1)
  • fradav (1)
  • llaniewski (1)
Top Labels
Issue Labels
os x (1) help needed (1) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 1,584 last-month
  • Total docker downloads: 91,244
  • Total dependent packages: 2
  • Total dependent repositories: 10
  • Total versions: 22
  • Total maintainers: 1
cran.r-project.org: RInside

C++ Classes to Embed R in C++ (and C) Applications

  • Versions: 22
  • Dependent Packages: 2
  • Dependent Repositories: 10
  • Downloads: 1,584 Last month
  • Docker Downloads: 91,244
Rankings
Forks count: 1.9%
Stargazers count: 3.1%
Downloads: 6.3%
Dependent repos count: 9.2%
Average: 9.6%
Dependent packages count: 13.7%
Docker downloads count: 23.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • Rcpp * imports
.github/workflows/ci.yaml actions
  • actions/checkout v3 composite