Re: [R] SWIG for R

From: A.J. Rossini <>
Date: Thu 15 Jul 2004 - 02:33:06 EST

I like SWIG (well, it facilitates wrappers for Python really well), but it's not perfect.

I've not delved into the difficulties in any detail yet, but we've had problems with mixing SWIG and Boost.python for connections with Python code -- and the Boost.python mechanism "feels" like DTL's RS<your language here> code, where as SWIG doesn't quite have the same flavor.

(sorry for failing on the details, but I'm doing something else today).

Duncan Murdoch <> writes:

> On Wed, 14 Jul 2004 08:01:28 -0700, Duncan Temple Lang
> <> wrote :
>>SWIG is an extensible system and so people
>>other than the SWIG developers can indeed
>>provide facilities for supporting R.
>>I am surprised nobody has done it yet
>>and remember asking you whether you had considered
>>using SWIG for your OpenGL about 3 years ago.
> Sorry, I forgot about that.
> I don't think SWIG would be much help with OpenGL, because there the
> difficulty is in translating the R ideas of what data is like and what
> people want to do with it into corresponding concepts in OpenGL, the
> actual calls to the OpenGL API are a pretty easy part of the whole
> exercise. In any case, they probably have to be written in compiled
> code for performance reasons, since you make so many OpenGL calls
> for every frame being drawn.
> But I'm sure there are other libraries where this isn't true, and SWIG
> would be useful for them. Maybe Hisaji has one, and would want to
> tackle the R support.
> Duncan Murdoch
> ______________________________________________
> mailing list
> PLEASE do read the posting guide!

Anthony Rossini			    Research Associate Professor   
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Jul 15 02:39:34 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:36:23 EST