« Return to Thread: SWIG newbie questions: R SWIG errors or warnings? is R SWIG functional?

Re: SWIG newbie questions: R SWIG errors or warnings? is R SWIG functional?

by wsfulton :: Rate this Message:

Reply to Author | View in Thread

Soeren Sonnenburg wrote:

> On Tue, 2008-04-22 at 10:44 -0400, David Cottrell wrote:
> > Doing:
> >
> > swig -c++ -v -r -o simpletest_wrap.cpp simpletest.i
> > PKG_LIBS="simpletest.cpp" R CMD SHLIB simpletest_wrap.cpp
>
> I guess you use swig 1.3.34 and R2.6? Try swig 1.3.35 then!
>
> > yields the following reports
> >
> > simpletest_wrap.cpp:725:2: warning: #warning "R Swig currently fails on
> > runtime for 2.6 and higher."
> > simpletest_wrap.cpp:726:2: warning: #warning "Contact maintainer if you
> > would like to help fix"
> >
> > Does this mean that R SWIG is not really functional yet?
>
> YMMV....
...
> my experience so far is that swig + python & octave work nicely... I was
> not successful with R, but just try it out ... I would be interested in
> learning whether it works for you (or someone).
>
SWIG works fine with R <= 2.6, most of the test-suite works well. Not
sure about 2.7, they seem to knock out new versions of R rather quickly
and there were some non-backwards compatible changes going from 2.5 to 2.6.

William

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user

 « Return to Thread: SWIG newbie questions: R SWIG errors or warnings? is R SWIG functional?