Rffi: Interface to libffi to dynamically invoke arbitrary compiled routines at run-time without compiled bindings. R package. This package provides a way to invoke arbitrary compiled routines (e.g. C/C++) from within R without having to develop, compile and load wrappers for those routines in C/C++. This is an interface to libffi which provides portable facilities for invoking foreign/compiled routines based on the types of their parameters and return value. The code in libffi takes care of putting the arguments on the stack and invoking the routine and marshalling the return value back. The Rffi package provides a layer on top of this to allow R objects to be passed as arguments to these routines and for the return values to be returned as R objects.
References in zbMATH (referenced in 1 article )
Showing result 1 of 1.