[Rcpp-devel] Returning an arma vec
Dirk Eddelbuettel
edd at debian.org
Wed Dec 3 19:25:36 CET 2014
On 3 December 2014 at 18:30, Romain Francois wrote:
| > 2. If we replace the lines marked // x with
| >
| > return wrap(x.subvec(1, 2));
| >
| > then it fails with a compiler error.
| >
| > error: cannot convert 'const arma::subview_col<double>' to 'SEXP' in
| > initialization
|
| This should be easy/trivial to fix for someone with the right skills.
Sure. Maybe Gabor wants to give it a try.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the Rcpp-devel
mailing list