Displaying 1 result from an estimated 1 matches for "reshape_test".
2009 Dec 09
1
reshape() makes R run out of memory (PR#14121)
...LUEs are NA) it runs out of memory:
Error: cannot allocate vector of size 4.8 Gb
When the real data frame is loaded the R process takes about 200Mb of virtual
memory. The machine has 4 Gb of RAM.
I've posted a .Rdata file with the data frame in question at
http://belikoff.net/stuff/other/reshape_test.Rdata.gz
P.S. Just checked R 2.10.0 using an Intel PC with 2Gb RAM running Xp Pro (32
bit):
> tbl2 <- reshape(tbl, direction = "wide", idvar = c("ID", "DATE1", "DATE2"),
timevar = "VALUE_TYPE");
Error: cannot allocate vector of size 53.9 Mb...