{"id":16572071,"url":"https://github.com/eddelbuettel/rinside","last_synced_at":"2025-05-15T15:09:35.286Z","repository":{"id":12809589,"uuid":"15484515","full_name":"eddelbuettel/rinside","owner":"eddelbuettel","description":"Seamless embedding of R in C++ programs","archived":false,"fork":false,"pushed_at":"2024-10-28T16:11:14.000Z","size":1167,"stargazers_count":137,"open_issues_count":0,"forks_count":38,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-31T20:06:40.275Z","etag":null,"topics":["c-plus-plus","cran","embedded","r","r-package"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-12-28T00:32:36.000Z","updated_at":"2025-03-28T00:13:05.000Z","dependencies_parsed_at":"2024-12-07T02:04:29.417Z","dependency_job_id":"b7bde721-7f24-43a3-9a16-b3ecfac901c3","html_url":"https://github.com/eddelbuettel/rinside","commit_stats":{"total_commits":385,"total_committers":14,"mean_commits":27.5,"dds":"0.19480519480519476","last_synced_commit":"4fdd81bbc4115715d105a3756a6a4a9e5f183724"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frinside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frinside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frinside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Frinside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/rinside/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730068,"owners_count":20986404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cran","embedded","r","r-package"],"created_at":"2024-10-11T21:26:14.324Z","updated_at":"2025-04-07T21:12:01.673Z","avatar_url":"https://github.com/eddelbuettel.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RInside: Easy embedding of R inside C++ (and C)\n\n[![CI](https://github.com/eddelbuettel/rinside/workflows/ci/badge.svg)](https://github.com/eddelbuettel/rinside/actions?query=workflow%3Aci)\n[![License](https://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![CRAN](https://www.r-pkg.org/badges/version/RInside)](https://cran.r-project.org/package=RInside)\n[![Dependencies](https://tinyverse.netlify.app/badge/RInside)](https://cran.r-project.org/package=RInside)\n[![Debian package](https://img.shields.io/debian/v/r-cran-rinside/sid?color=brightgreen)](https://packages.debian.org/sid/r-cran-rinside)\n[![Downloads](https://cranlogs.r-pkg.org/badges/RInside?color=brightgreen)](https://cran.r-project.org/package=RInside)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/rinside)](https://github.com/eddelbuettel/rinside)\n\n### About\n\nThe RInside package provides a few classes for seamless embedding of [R](https://www.r-project.org) inside of\nC++ applications by relying on [Rcpp](https://www.rcpp.org/).\n\n### Examples\n\nProvided with the package itself are nine subdirectories with examples: from more than a dozen basic command-line examples (in directory\n`standard`) to graphical user-interfaces (using both [Qt](https://www.qt.io/) and Wt), linear algebra with\n[Armadillo](https://arma.sourceforge.net/) and [Eigen](https://eigen.tuxfamily.org/index.php?title=Main_Page), parallel computing with MPI to a\nsandboxed server, and (since release 0.2.16) a simple (and more limited) interface for embedding insice C applications.\n\nThe simplest example (modulo its header) is [examples/standard/rinside_sample0.cpp](inst/examples/standard/rinside_sample0.cpp)\n\n```c++\n#include \u003cRInside.h\u003e                    // for the embedded R via RInside\n\nint main(int argc, char *argv[]) {\n\n    RInside R(argc, argv);              // create an embedded R instance\n\n    R[\"txt\"] = \"Hello, world!\\n\";\t    // assign a char* (string) to 'txt'\n\n    R.parseEvalQ(\"cat(txt)\");           // eval the init string, ignoring any returns\n\n    exit(0);\n}\n```\nThe [Qt example directory](https://github.com/eddelbuettel/rinside/tree/master/inst/examples/qt) produces\nthis application for showing how to use R (to estimate densities) inside a C++ executable (providing the GUI):\n\n![](https://github.com/eddelbuettel/rinside/blob/master/local/qtdensitySVG.png)\n\nThe code is portable across operating systems.  Similar, the\n[Wt example directory](https://github.com/eddelbuettel/rinside/tree/master/inst/examples/wt)\ncontains this C++-based web application doing the same:\n\n![](https://github.com/eddelbuettel/rinside/blob/master/local/wtdensity.png)\n\n\n### See Also\n\nThe [RInside](https://dirk.eddelbuettel.com/code/rinside.html) web page has\nsome more details.\n\n### Authors\n\nDirk Eddelbuettel, Romain Francois, and Lance Bachmeier\n\n### License\n\nGPL (\u003e= 2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Frinside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Frinside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Frinside/lists"}