Re: [Rd] reshape() makes R run out of memory (PR#14121)

2009-12-09 Thread hadley wickham
> Yes. The culprit would seem to be interaction(), as in > >> x <- y <- z <- 1:999 >> i <- interaction(x,y,z, drop=TRUE) > Error: cannot allocate vector of size 3.7 Gb > > which is happening due to the occurrence of three idvar variables. This > works basically as interaction(x,y,z)[,drop=TRUE], i.

Re: [Rd] reshape() makes R run out of memory (PR#14121)

2009-12-09 Thread Peter Dalgaard
abelik...@gmail.com wrote: Full_Name: Alexander L. Belikoff Version: 2.8.1 OS: Ubuntu 9.04 (x86_64) Submission from: (NULL) (67.244.71.200) I'm trying to reshape the following data frame: ID DATE1 DATE2 VALUE_TYPEVALUE 'abcd1233' 2009-11-12

[Rd] reshape() makes R run out of memory (PR#14121)

2009-12-09 Thread abelikoff
Full_Name: Alexander L. Belikoff Version: 2.8.1 OS: Ubuntu 9.04 (x86_64) Submission from: (NULL) (67.244.71.200) I'm trying to reshape the following data frame: ID DATE1 DATE2 VALUE_TYPEVALUE 'abcd1233' 2009-11-122009-12-23 'TYPE1'