On 9 July 2014 at 12:21, Mario Deng wrote:
| Hello everyone,
|
| I am observing a, to me, strange behaviour. Rcpp seems to modify my variable,
which is given as argument. Here is my code:
|
| In R am am running:
|
| Rcpp::sourceCpp("~/.../VectorList/VectorList.cpp")
| foo=matrix(runif(52), nco
Hello everyone,
I am observing a, to me, strange behaviour. Rcpp seems to modify my variable,
which is given as argument. Here is my code:
In R am am running:
Rcpp::sourceCpp("~/.../VectorList/VectorList.cpp")
foo=matrix(runif(52), ncol=4)
colnames(foo)=paste("X",1:ncol(foo),sep="")
rownames(fo