-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
In addition to the SWIG support for R, I am also in the process of finishing off another approach which uses the compiler directly (rather than an intermediate input file) and can read the body of the routines in order to analyze the expressions there. And we can do the generation and analysis in R. A partially complete version is available at http://www.omegahat.org/Prerelease/RGCCTranslationUnit_0.3-0.tar.gz and an associated run-time support package at http://www.omegahat.org/Prerelease/RAutoGenRunTime_0.1.0.tar.gz I am hoping to finish off all of the details in the next week. However, I have used already to generate parts of the Rcompression package from bzip and for wxWidgets wrappers in C++. venthough I initiated the RSWIG project, I believe this is a richer approach, but of course there is still some setup cost. D. Dirk Eddelbuettel wrote: > 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 > - -- Duncan Temple Lang [EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Building fax: (530) 752-7099 One Shields Ave. University of California at Davis Davis, CA 95616, USA -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFFNi2D9p/Jzwa2QP4RApB7AJ4j06PkVGsxzOfFrwgjzS4DT6WCyACdEnbY oY6bmM4KdeX+EVNW+VrK9UA= =AJk/ -----END PGP SIGNATURE----- ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel