Re: [Rcpp-devel] Save objects across sessions

2015-04-21 Thread soeren . vogel
(For full original post, see http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2014-May/007539.html ) > On 06.05.2014, at 13:55, Dirk Eddelbuettel wrote: > > Conceptually, if it helped, you could think about > > -- copying all content into an object you serialize (eg an R object for whi

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

2015-04-21 Thread Dirk Eddelbuettel
On 21 April 2015 at 11:01, ogami musashi wrote: | Benchmarks against fread shows the code i use returns a lighter object | (a simple matrix) and thus processes faster. | | reading 400 16,2Mb files with a 6 cores took 177,949 seconds with the | cpp function and 228.231 seconds with fread. | | N

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

2015-04-21 Thread ogami musashi
Hello Dirk, Got it sorted, the basic problem was that the output matrix's dimensions has to be defined precisely. I had some problems with first line (col names) and first columns (row names). But it works now. Benchmarks against fread shows the code i use returns a lighter object (a simpl