Re: [R] memory problem?

From: Duncan Murdoch <dmurdoch_at_pair.com>
Date: Tue 13 Jul 2004 - 12:00:12 EST

On Mon, 12 Jul 2004 21:53:34 -0400 (EDT), Tianyu Tom Wang <gtg746b@mail.gatech.edu> wrote:

>Hi everyone,
> I'm running R1.9.1 on RedHat Linux. I'm trying to read in a matrix
>file with 13956 by 858 dimensions. I realize this is pretty huge, though
>I think the amount of memory I have should be able to handle it. R reads
>the entire file and tells me "Read in 11974247 values". This is exactly
>one less value than what it should have read in (11974248 = 13956*856).
>I'm pretty sure this is a memory problem. Any ideas on how to allocate
>more memory/fix this problem?

What function are you using to read the data? It seems pretty unlikely that it's running out of memory; more likely there's an off-by-one calculation somewhere.

Duncan Murdoch



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jul 13 12:09:06 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:54 EST