Design notes for RSwig
Posted by
Joseph Wang on
URL: http://quantlib.414.s1.nabble.com/Design-notes-for-RSwig-tp4472.html
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/RSwigI'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