[Rcpp-devel] how to create an Rcpp::List in a standalone C++ application?

Dirk Eddelbuettel edd at debian.org
Wed Dec 18 17:14:32 CET 2013


Hi Florian,

On 18 December 2013 at 15:53, Florian Oswald wrote:
| Thanks Dirk and Romain,
| 
| Let me follow up on this if you don't mind, there's probably a lot of ways to
| improve what I'm doing. Dirk, you mentioned blitz++. What I'm doing at the
| moment is a bit contrived and I'm wondering whether there may be a better way
| of going back and forth from R to blitz. my program looks like this:

Sure.

If you want to add corresponding as<>() and wrap() methods, there are working
examples (in several Rcpp* packages) as well as documentation in the vignette
'Rcpp-extensions', the corresponding chapter in my Rcpp book, a few posts on
the Rcpp Gallery as well as other places.  

As I don't know of anybody else still using Blitz++ you may have to buckle
and do it.  Or just RcppArmadillo.  Are there particular Blitz++ features you
deem missing?

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list