Year: 2012
Type: article
Abstract: We present an improved Foreign Function Interface (FFI) for R to call arbitary native functions without the need for C wrapper code.Further we discuss a dynamic linkage framework for binding standard C libraries to R across platforms using a universal type information format.The package rdyncall comprises the framework and an initial repository of crossplatform bindings for standard libraries such as (legacy and modern) OpenGL, the family of SDL libraries and Expat.The package enables systemlevel programming using the R language; sample applications are given in the article.We outline the underlying automation tool-chain that extracts cross-platform bindings from C headers, making the repository extendable and open for library developers.
Source: The R Journal
DOI: 10.32614/rj-2012-004
Author: Daniel Adler
Institution: University of Göttingen
Language: English
Topic: Data Analysis with R
Subfield: Statistics and Probability
Field: Mathematics
Domain: Physical Sciences
Open Access status: hybrid
OpenAlex ID: W2790802043
