From edd at debian.org  Wed Oct 18 12:13:29 2006
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 18 Oct 2006 05:13:29 -0500
Subject: [Rd] Automatic C wrapper generation
In-Reply-To: <4535F09B.2010003@molgen.mpg.de>
References: <4535F09B.2010003@molgen.mpg.de>
Message-ID: <17717.65097.345368.804829@basebud.nulle.part>


On 18 October 2006 at 11:15, Benjamin Georgi wrote:
| I'm looking into creating R bindings for a medium sized C library. I 
| have read up on how to access simple C functions using the .C and .Call 
| methods and what I'm looking for now is a way to automate the generation 
| of the necessary glue code.
| 
| Ideal would be a SWIG-like package that does most of the leg work of the 
| interface generation for R.

Swig 1.3.30 will have basic R support. You can check it out from their CVS.
I haven't used it yet so I do not know how far this will get you.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison




[Rd] Automatic C wrapper generation
Dirk Eddelbuettel