« 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 Joseph Wang-2 :: Rate this Message:

Reply to Author | View in Thread

On Saturday 26 April 2008 04:57:26 am Soeren Sonnenburg wrote:
> What about the other two problems I am seeing? Why can't we get rid of
> the scorecein typemap in rtype.swg at all? I mean it is bad if things
> get converted to numeric (or so) although there is a magic (user
> written!) typemap doing the work. I still don't understand why ther
> should be any conversion at all...

A lot of R-Swig was written with trial and error.  I just removed the
scorecein typemaps for integers and floats, and the regression tests ran fine
as did my quantlib scripts.  So I just commented them out.

> Also what about the dispatcher? Any ideas on how to better check if two
> types are compatible (extends seems not be the right thing for numeric
> types)...

No ideas, but I'm interested in anything anyone else can think of.....



-------------------------------------------------------------------------
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?

LightInTheBox - Buy quality products at wholesale price