flexmem icon indicating copy to clipboard operation
flexmem copied to clipboard

Need a new read.table

Open bwlewis opened this issue 11 years ago • 0 comments

I'm having trouble loading the airline data with read.table, even using xmem. R is making tons of tiny allocations.

I'm thinking of something with read.table syntax (like lazy.frame) that:

1 quickly inspects the file for number of lines and variable types 2 allocates a list of big variables 3 fills in the allocated variables by iterating through the file row-wise

this approach should use xmem reasonably well I think.

bwlewis avatar Jun 03 '14 05:06 bwlewis