Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-16 Thread Nicolas Heslot
Hi dear List, Another question related to the first one is about the compilation of that code. If the source of error is removed, the code compile correctly using cxxfunction. However, I get a warning message when I try to produce a package out of it using package.skeleton( "fun2", fun ): In dump

Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-16 Thread Nicolas Heslot
I ran into the same kind of problem again, but this time I just can't find what the correct syntax is: I need to update a matrix stored in a list, by summing with an arma:: mat object the syntax MyList[j] += ArmaObject does not work. On the other hand I can access the matrix object stored in those