[Rcpp-devel] list of matrices to Eigen matrices

2013-03-20 Thread M A
I have a list of matrices in R which I want to turn into a bunch of Eigen matrices using RcppEigen. I found a way to do this, but it seems unnecessarily tortured. Here's what I have: // [[Rcpp::export]] void listMat(Rcpp::List mat_list) { int n_mats = mat_list.size(); std::vector vec_of_m

Re: [Rcpp-devel] list of matrices to Eigen matrices

2013-03-20 Thread Dirk Eddelbuettel
Mark, On 20 March 2013 at 13:03, M A wrote: | I have a list of matrices in R which I want to turn into a bunch of | Eigen matrices using RcppEigen. I found a way to do this, but it seems | unnecessarily tortured. Here's what I have: Nope, that is fine. (Apart from maybe doing with *pcv and stick

[Rcpp-devel] Installing my own package in the system directory

2013-03-20 Thread Mario Bourgoin
Hi, I use an Intel desktop under Ubuntu 11.04, and I have super-user privileges. I wrote a utility i/o function to use in R. I am able to install it in my account's R/site-library, and it works fine. I cannot install it on the system R/site-library using either R CMD INSTALL or install.packages; I

Re: [Rcpp-devel] Installing my own package in the system directory

2013-03-20 Thread Dirk Eddelbuettel
Mario, That email had nothing to do with Rcpp and is there unsuitable for this mailing list. Please do not abuse the list. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com ___ Rcpp-devel mailing list Rcpp-devel@lists.r-fo

Re: [Rcpp-devel] Installing my own package in the system directory

2013-03-20 Thread Mario Bourgoin
Sorry. Sent from my iPhone On Mar 20, 2013, at 5:43 PM, Dirk Eddelbuettel wrote: > > Mario, > > That email had nothing to do with Rcpp and is there unsuitable for this > mailing list. Please do not abuse the list. > > Dirk > > -- > Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel

Re: [Rcpp-devel] Rcpp Google summer of code 2013?

2013-03-20 Thread Berry Kriesels
On 03/18/2013 12:50 AM, Dirk Eddelbuettel wrote: On 17 March 2013 at 22:34, Michael Weylandt wrote: | There's an active R-GSOC bunch and I'm sure a good Rcpp project would get | support that way. Dirk has sponsored GSOC projects in the past so I bet you | wouldn't have too much trouble finding a

[Rcpp-devel] Simple project segfaults

2013-03-20 Thread Berry Kriesels
Hi everybody, Just now I was playing around with Rcpp in combination with Qt (I have found an excellent example on this). And decided to have a go(small dummyproject) at this myself. Problem is that the application segfaults when I run it. QtR.h http://pastebin.com/AXT144SK QtR.cpp http://