Re: [Rcpp-devel] Read csv and export object in R

2015-04-21 Thread ogami musashi
n the stringstream) std::stringstream convertor(val); //get the results into another stringstream 'convertor' convertor >> output(row,col); //put the result into our output matrix at for the actual row and col } } return(output); } On 20/04/15 13:16, Di

[Rcpp-devel] Read csv and export object in R

2015-04-20 Thread ogami musashi
Hello all, Recently i've been forced to output results from a Wavelet transform to files because storing of objects in R took too much memory. The exported objects are lighter than the objects produced by the Wavelet package in R so i can re-import them in R. Problem is..i have 400 object o

Re: [Rcpp-devel] Accessing list of list members to permute them

2015-04-03 Thread ogami musashi
Hello Romain and Christian, Following christian advice on learning how to walk before running but taking romain's hints i succeeded in writing a code that does the same permutation but on a list of matrices. I had in fact always access the same nested list element which is a matrix i simply cr

[Rcpp-devel] Accessing list of list members to permute them

2015-03-30 Thread ogami musashi
Hello I'm a Rcpp newbie, so sorry if the question is trivial. I have an R object which is a list of 1000 elements. Each elements is a result from a discrete wavelet transform (from package wmtsa) with 5 elements. One of them have a 5 rows and 16 colums. The first level (1000) are in fact