[Rcpp-devel] ndarray + eigen

2013-03-12 Thread Aileen Lin
Hi there, I need to create a multidimensional array. I tried arma::cube. It is very good for 3d array, but I need to create 4d/5d array and cube seems not the answer. I found a c++ library 'ndarray' that depends on eigen. I am not sure how I can make a multidimensional array by using rcppeigen and

Re: [Rcpp-devel] Principal Component in Armadillo

2013-03-12 Thread Dirk Eddelbuettel
On 12 March 2013 at 14:10, João Daniel Nunes Duarte wrote: | Thanks for your explanation, Dirk! Indeed, I looked at Armadillo documentation, | but it was not clear what was the kind of return. | | Regarding the linking error, I had created the package using | Rcpp.package.skeleton (because I did

Re: [Rcpp-devel] Principal Component in Armadillo

2013-03-12 Thread João Daniel Nunes Duarte
Thanks for your explanation, Dirk! Indeed, I looked at Armadillo documentation, but it was not clear what was the kind of return. Regarding the linking error, I had created the package using Rcpp.package.skeleton (because I didn't know I was going to use RcppArmadillo), and then I made the necessa