Re: [Swig-devel] Design notes for RSwig

Posted by Marcelo Matus on
URL: http://quantlib.414.s1.nabble.com/Design-notes-for-RSwig-tp4472p4473.html

nice, you are even using the Lib/std files.

William probably will give you instructions about how to use and/or
access the
CVS swig repository,  and what is needed to add a new language module.

Marcelo



Joseph Wang wrote:

> I've started a wiki page that has some design notes for the R-Swig
> interface I'm working with.  The wiki page also attaches the file for
> the interface.
>
> http://wiki.quantlib.org/twiki/bin/view/Quantlib/RSwig
>
> I've gotten some basic functionality to work, and in the next week,
> I'm planning to be able to be able to write a test program that does
> some simple calculating (and more importantly plotting) of option values.
> Once work starts on 1.3.29, I'd like to see what it would take to get
> this into the mainline R distribution.
>
> > s <- new_DoubleVector()
> > s$append(x=1)
> NULL
> > s$append(x=2)
> NULL
> > s$append(x=3)
> NULL
> > s$append(x=4)
> NULL
> > s$size()
> [1] 4
> > s[0]
> [1] 1
> > s[1]
> [1] 2
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Swig-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/swig-devel