{"id":16284753,"url":"https://github.com/pachadotdev/cpp-for-r-users","last_synced_at":"2026-03-04T20:15:15.241Z","repository":{"id":195092020,"uuid":"692229277","full_name":"pachadotdev/cpp-for-r-users","owner":"pachadotdev","description":"A collection of my very own C++ errors and how I try to solve them","archived":false,"fork":false,"pushed_at":"2023-10-16T22:30:59.000Z","size":1388,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-11T19:21:17.598Z","etag":null,"topics":["cpp","r"],"latest_commit_sha":null,"homepage":"https://pacha.dev/cpp-for-r-users","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pachadotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-15T21:33:12.000Z","updated_at":"2024-07-24T05:37:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"e98e4dbd-aaf7-4baa-aa73-dab60596938f","html_url":"https://github.com/pachadotdev/cpp-for-r-users","commit_stats":null,"previous_names":["pachadotdev/cpp-for-r-users"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp-for-r-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp-for-r-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp-for-r-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pachadotdev%2Fcpp-for-r-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pachadotdev","download_url":"https://codeload.github.com/pachadotdev/cpp-for-r-users/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223162816,"owners_count":17098214,"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":["cpp","r"],"created_at":"2024-10-10T19:20:45.862Z","updated_at":"2026-03-04T20:15:15.186Z","avatar_url":"https://github.com/pachadotdev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learning C++ as an R user\n\nHere I show how to achieve some common tasks by integrating R and C++.\n\nAll the examples here use the cpp11 package, which is a header-only library that\nprovides a C++11 interface to R's C API.\n\n## Contents\n\nThe examples here are meant to be *instructional*, and the goal is to be\nclear and simple, not to be efficient except when it is clearly stated. For\nexample, the OLS example uses a naive approach to solve the problem, which is\n**not** the way R's `lm()` function does it. See\n[this blog post](https://pacha.dev/blog/2023/06/05/cpp11-omp/).\n\nPlease see the respective README files for more information.\n\n### [cpp11dummyols](#cpp11dummyols)\n\n- [x] Integers\n- [x] Doubles\n- [x] Doubles matrices\n- [x] Conditionals\n\n### [cpp11omp](#cpp11omp)\n\n- [x] Integers\n- [x] Doubles\n- [x] Lists\n- [x] Loops (for)\n- [x] OpenMP parallelization\n\n### [cpp11gaussjordan](#cpp11gaussjordan)\n\n- [x] Integers\n- [x] Doubles\n- [x] Doubles matrices\n- [x] Conditionals\n- [x] Loops (for)\n- [x] Vendoring\n\n### [cpp11simplexphase2](#cpp11simplexphase2)\n\n- [x] Integers\n- [x] Doubles\n- [x] Doubles matrices\n- [x] Conditionals\n- [x] Loops (for and while)\n- [x] Messages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcpp-for-r-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpachadotdev%2Fcpp-for-r-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpachadotdev%2Fcpp-for-r-users/lists"}