[Rd] Automatic C wrapper generation

Dirk Eddelbuettel edd at debian.org
Wed Oct 18 12:13:29 CEST 2006


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




More information about the R-devel mailing list