Problem in merging data frames
1
0
Entering edit mode
shadhiksk • 0
@shadhiksk-13179
Last seen 4.3 years ago

Hello,

I tried to merge the two data frames which are having the same column name and the values set to NA. It showed me an error 

> total<-merge(l,h,by="a")
Error: cannot allocate vector of size 3.8 Gb

Can anyone suggest how to rectify and merge those two data frames!!

merge merge data frames • 538 views
ADD COMMENT
0
Entering edit mode

How large are your two data frames and of what class are they (DataFrame, data.frame, data_frame)? A bit more of a workable example will help in answering the question. Also do sessionInfo() from within R so the relevant information about your system is known.

dims(l)
dims(h)
class(l)
class(h)
sessionInfo()
ADD REPLY
0
Entering edit mode
Haiying.Kong ▴ 110
@haiyingkong-9254
Last seen 2.5 years ago
Germany

If you are on Windows, you can set memory limit with the function:

memory.limit(size = NA)
ADD COMMENT

Login before adding your answer.

Traffic: 233 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6