<div dir="ltr">Hi,<div><br></div><div>I am working on fixing sparse matrix conversion for RcppArmadillo. Now a problem comes up to me: what kind of sparse matrix is expected to pass from Armadillo to R? That is, what should the result of wrap() be? dgCMatrix(if logical, lgCMatrix or ngCMatrix)  or their original type?</div><div><br></div><div>If you are familiar with sparse matrix, please do me a favor. </div><div><br></div><div>Best,</div><div>Binxiang</div></div>