Foreign Library Interface

  title={Foreign Library Interface},
  author={D. Adler},
  journal={R J.},
  • D. Adler
  • Published 2012
  • Computer Science
  • R J.
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… Expand
6 Citations
Dynamic Language Bindings for C Libraries with emphasis on their application to R
A middleware architecture for scripting languages is discussed that provides for seamless dynamic scripting access to the C API of native libraries without the need for compilation of wrapper modules. Expand
A dynamic linear model to forecast hotel registrations in Puerto Rico using Google Trends data
A Dynamic Linear Model is proposed that treats SQV data as a representation of an unobservable process and provides better inference on the association between the number of hotel nonresident registrations and Google Trends SQV than using Google Trends data retrieved only on one occasion. Expand
Critical Transitions in Intensive Care Units: A Sepsis Case Study
A computational method based on surprise loss to discover data-driven indicators of critical transitions in a multivariate time series dataset of septic shock and non-sepsis patient cohorts (MIMIC-III database) outperformed other indicators ofcritical transition in complex systems, such as temporal autocorrelation and variance. Expand
Weak interactions between groups and physical drivers of community dynamics in coastal phytoplankton
It is found that physical drivers - such as irradiance, wind, and salinity - explain some of the variability in abundances unexplained by biotic interactions, while responses to nutrients explain less of phytoplankton variability. Expand
Coastal phytoplankton community dynamics and coexistence driven by intragroup density‐dependence, light and hydrodynamics
Phytoplanktonic communities maintain a high diversity in a seemingly homogeneous environment, competing for the same set of resources. Many theories have been proposed to explain this coexistenceExpand
Assessing the status of an artisanal shrimp fishery in a Ramsar wetland in Jamaica: The effects of seasonality, extreme La Niña episodes and elevated temperature on landings
The declining trend may have adverse implications for the stock of the native shrimp species, which has a higher economic value, if fishing pressure is not reduced/restricted or increased on the invasive crayfish, especially during seasonal and/or ENSO related declines in native shrimp stocks. Expand


Automatic C library wrapping Ctypes from the trenches
This paper focuses on wrapping shared C libraries, using Python's default Ctypes, to tell a step by step story of the wrapping and development process, that should be transferable to similar problems. Expand
QEMU, a Fast and Portable Dynamic Translator
  • Fabrice Bellard
  • Computer Science
  • USENIX Annual Technical Conference, FREENIX Track
  • 2005
QEMU supports full system emulation in which a complete and unmodified operating system is run in a virtual machine and Linux user mode emulation where a Linux process compiled for one target CPU can be run on another CPU. Expand
Lua—An Extensible Extension Language
This paper describes Lua, a language for extending applications. Lua combines procedural features with powerful data description facilities, by using a simple, yet powerful, mechanism of tables .Expand
Automated scientific software scripting with SWIG
  • D. Beazley
  • Computer Science
  • Future Gener. Comput. Syst.
  • 2003
Although SWIG has been in use for more than 6 years, little has been published on its design and the underlying mechanisms that make it work and the primary goal of this paper is to cover these topics. Expand
Scripting: Higher-Level Programming for the 21st Century
This article explains why scripting languages will handle many of the programming tasks in the next century better than system programming languages. Expand
RGtk2: A Graphical User Interface Toolkit for R
The basic concepts underlying GTK+ are introduced and how to use RGtk2 to construct GUIs from R is explained and more complex examples illustrating the advanced features of the package are provided. Expand
Ruby: The Programming Language
An ideal companion to many introductory computer science courses, as well as an excellent primer, Ruby: The Programming Language offers an accessible introduction to this easy to learn, open-source language. Expand
XSL Transformations (XSLT) Version 1.0
This specification defines the syntax and semantics of XSLT, which is a language for transforming XML documents into other XML documents, which enhances the functionality and interoperability of the Web. Expand
Opengl programming guide: the official guide to learning opengl
The OpenGLProgramming Guide, Seventh Edition, provides definitive and comprehensive information on OpenGL and the OpenGL Utility Library and continues the discussion of the OpenGL Shading Language (GLSL) and explains the mechanics of using this language to create complex graphics effects and boost the computational power of OpenGL. Expand
OpenGL(R) Programming Guide: The Official Guide to Learning OpenGL(R), Version 2.1
This sixth edition of the best-selling "red book" describes the latest features of OpenGL Version 2.1, including:Using server-side pixel buffer objects for fast pixel rectangle download and retrievalDiscussion of the sRGB texture formatExpanded discussion of the OpenGL Shading Language is continued. Expand