Skip to content
Prev 5450 / 10988 Next

[Rcpp-devel] extend to cover exporting non-reference S4 objects?

Dirk,

thanks for the reply.  i'll think about Nice Additions as i become more
familiar with the magic of Rcpp.  i would guess, since reference classes
can make it, so can pass-by-value S4 objects.
by hand, i can pass and return S4 objects.  i.e., they seem to fit in
the SEXP structure (**).  so, i'd guess that (with a possibly unbounded
amount of coding ;-) software could do the same.

cheers, Greg

** would it be helpful to people if i posted an example?  actually, my
"test5.cc" i just posted gives the basic template, other than the case
of *passing* a list of some S4 object class.
Message-ID: <48476.1362720561@greg-minshalls-mbp.local>
In-Reply-To: Your message of "Thu, 07 Mar 2013 21:40:35 -0600." <20793.23987.730204.75316@max.nulle.part>