Skip to content
Prev 199854 / 398502 Next

merge data

David -- thank you for your response. 

merge does work but it creates another dataframe. df1 is very large and I did not want another copy created. What I ended up doing is:
df1 <- merge(df1, df2, by="week")

In terms of memory allocation, will memory for two dataframes be allocated or will the additional column be added to df1?

Thanks.
---- David Winsemius <dwinsemius at comcast.net> wrote: