Skip to content
Prev 302902 / 398503 Next

correlating rows of two differently-sized data frames in R

Hi Jen,

It's generally best to keep cc'ing R-help so others can lend a hind
when I step away from my computer:
On Thu, Aug 9, 2012 at 11:49 AM, Jennifer Hobbs <jenachobbs at gmail.com> wrote:
Take a look at

?merge.data.frame

in particular since there are many different forms of merges. Your
original post suggests you may want to set

all = TRUE
by = "Location"

Hope that helps,
Michael
You'll also need to be using a 64 bit build of R. Merging is pretty
memory expensive so if you're right on the edge of what R can handle
you might have to look into a more specialized solution (such as an
SQL backend)