Re: [R] problem in merging

2011-02-07 Thread jim holtman
simple example of what I was talking about; dataframe only size 5 but result is length 44 > x1 <- data.frame(a=sample(c("A", "B"), 5, TRUE), b=1:10) > x2 <- data.frame(a=sample(c("A", "B"), 5, TRUE), b=1:10) > x1 a b 1 A 1 2 B 2 3 A 3 4 A 4 5 B 5 6 A 6 7 B 7 8 A 8 9 A 9 10 B

Re: [R] problem in merging

2011-02-07 Thread jim holtman
A little more information would be of use; e.g. str(m_accts) str(m_op) gc() # how much memory is currently being used Message indicates you may have fragmented memory and it can not find enough contigious space. Also do you have duplicates in the ID you are merging by so that you wind up with a