I'm trying to combine two columns, Previous$Col1
and Previous$Col3
, into one data.frame
.
This is what I tried to do:
x<-data.frame(Previous$Col1)
y<-data.frame(Previous$Col3)
z<-merge(x,y)
And for some reason I got this error
on the console:
Error: cannot allocate vector of size 24.0 Gb
What's going wrong and what should I do to fix this?
How could a data frame with two columns with 80000ish rows take up 24 GB of memory?
Thanks!