I am trying to merge two dataframes: one has 908450 observations of 33 variables, and the other has 908450 observations of 2 variables.
dataframe2 <-merge(dataframe1, dataframe2, by="id")
I've cleared all other dataframes from working memory, and reset my memory limit (for a brand new desktop with 24 GB of RAM) using the code:
memory.limit(24576)
But, I'm still getting the error Cannot allocate vector of size 173.Mb.
Any thoughts on how to get around this problem?