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
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
Hi all,
I am having this error while trying to merge about 2 dataframes
m_merge = merge(m_accts,m_op,
by.y="CUST_ID",by.x="FORACID",all.y=TRUE,all.x=TRUE)
Error: cannot allocate vector of size 10.0 Mb
Taby
[[alternative HTML version deleted]]
3 matches
Mail list logo