Re: [R] memory problem?

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

On Mon, 12 Jul 2004 21:53:34 -0400 (EDT), Tianyu Tom Wang <> 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 mailing list PLEASE do read the posting guide! 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