[R] SWIG for R

Duncan Murdoch dmurdoch at pair.com
Wed Jul 14 11:37:42 CEST 2004


On Wed, 14 Jul 2004 17:12:24 +0900, "Hisaji ONO"
<hi_ono2001 at ybb.ne.jp> wrote:

>Hi.
>
> Has R dev. team considered employing SWIG(http://www.swig.org/), which
>supports PHP, Ruby, Java etc.,
>for connecting C/C++ libraries with R?

I don't know, but it looks from their web page as though you're asking
the wrong question, i.e. you should be asking:

Has the SWIG dev. team considered supporting R?

>From my understanding based on a quick read, we wouldn't need to do
anything at all. SWIG would generate R interface code.

What I couldn't find on the page is a discussion of how hard it is to
add support for another language to SWIG.  I don't know if this is
something a SWIG user could do, or whether it requires a major effort.

Duncan Murdoch




More information about the R-help mailing list