view R/dynport.rnw @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children
line wrap: on
line source

% \VignetteIndexEntry{Dynamic R Binding to shared C libraries in a portable way}
% \VignetteKeyword{dynport}
% \VignetteKeyword{bindings}
\documentclass{article}
\usepackage{url}
\begin{document}
\title{Dynports: Dynamic R Bindings of shared C libraries in a portable way}
\author{Daniel Adler}
\maketitle

\section{Introduction}

A \emph{dynport} is mapped in R as a dynamically created R namespace 
containing wrapper functions, constants and type information objects 
(used in conjunction with utility functions from the package) to gain 
control over a large range of functionality offered by system service
and binary components.
These bindings can be written by hand but - as these are
very structured using formal signatures - this process
is also automated.
Here is a list of dynports for the initial release:

\begin{tabular}{lll}
dynport   & library     & details\\
\hline
GL        & OpenGL 1.0  & Portable 3D Graphics System Library \\
glew      & GL Extension Wrangler & Provides OpenGL 3.0 \\
SDL       & Simple DirectMedia Layer & Multimedia and user-interface. \\
SDL\_ttf   & SDL Font Rendering Library & True Type Font Rendering \\
SDL\_image & SDL Image I/O Library & Image Loading and Saving in many formats \\
\end{tabular}

\end{document}