view R/dynport.rnw @ 47:44045db8fa5f

PyCObject/PyCapsule not usable as type annotation
author Tassilo Philipp
date Fri, 13 Nov 2020 18:04:05 +0100
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}