On Dec 15, 2012, at 8:45 PM, David Winsemius wrote:

> 
> 
>> 
>> Trying read.csv gives this:
>> 
>> 
>> Error: cannot allocate vector of size 370.5 Mb
> 
> That on the other hand suggests you have inadequate machine resources for 
> this job. Perhaps you should be thinking of using other tools than R for this 
> project ... or buying more ram. You should probably have 32 GB for a job this 
> size.

I was wrong about that. The object size in a 64 bit R was:

inp      291382512

> nrow(inp)
[1] 2820
> length(inp)
[1] 18001
> (2000 - 1765)*12
[1] 2820

So it seems to be all there. It's considerably smaller than I guessed.

-- 


David Winsemius
Alameda, CA, USA

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to