view R/dynport.rnw @ 37:8c8f848131c6

- version bump - better doc - made calling convention mode reset by default, as only way to specify convention used is via signature string
author Tassilo Philipp
date Mon, 13 Apr 2020 20:08:54 +0200
parents 0cfcc391201f
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}