rdyncall: Improved Foreign Function Interface and Dynamic Bindings to C
Libraries
Provides a cross-platform framework for dynamic binding of C libraries using a flexible Foreign Function Interface (FFI).
The FFI supports almost all fundamental C types, multiple calling conventions, symbolic access to foreign C struct/union data types and wrapping of R functions as C callback function pointers.
Dynamic bindings to shared C libraries are data-driven by cross-platform binding specifications using a compact plain text format; the package includes a 'DynPort' binding specification for 'SDL3' generated from current headers with 'porter'.
The package includes a variety of technology demos and OS-specific notes for installation of shared libraries. For the underlying methods and bundled 'DynCall' libraries, see Adler (2012) <doi:10.32614/RJ-2012-004> and Adler and Philipp (2008) <https://dyncall.org>.
| Version: |
0.10.0 |
| Depends: |
R (≥ 3.0.0) |
| Suggests: |
Rtinycc, tinytest |
| Published: |
2026-07-15 |
| DOI: |
10.32614/CRAN.package.rdyncall |
| Author: |
Daniel Adler [aut, cph],
Hongyuan Jia [aut, cre, cph],
Tassilo Philipp [ctb, cph],
Olivier Chafik [ctb, cph] |
| Maintainer: |
Hongyuan Jia <hongyuanjia at cqust.edu.cn> |
| BugReports: |
https://github.com/hongyuanjia/rdyncall/issues |
| License: |
MIT + file LICENSE |
| Copyright: |
see file COPYRIGHTS |
| URL: |
https://github.com/hongyuanjia/rdyncall, https://dyncall.org |
| NeedsCompilation: |
yes |
| Materials: |
README, NEWS |
| CRAN checks: |
rdyncall results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=rdyncall
to link to this page.