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? thanks, Tom
On Mon, 12 Jul 2004 21:53:34 -0400 (EDT), Tianyu Tom Wang <gtg746b at 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
I doubt this is a memory problem, considering that R reported that it read in the data! What exactly were the commands that you used to read in the data? -roger 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? > > thanks, > Tom > > ______________________________________________ > R-help at 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 >