Skip to content
Prev 283719 / 398500 Next

merge multiple data frames

hi don

I followed your advice about using sqldf package but the problem of 
labelling the fields persists;
for some reasons I can not properly handle the sql 'as' statement....

a_b<-sqldf("select a.*, b.* from a left join b on a.date=b.date")
a_b_c<-sqldf("select a_b.*, c.* from a_b left join c on a_b.date=c.date")

bye

max





----- Original Message ----- 
From: "MacQueen, Don" <macqueen1 at llnl.gov>
To: "maxbre" <mbressan at arpa.veneto.it>; <r-help at r-project.org>
Sent: Saturday, January 28, 2012 12:24 AM
Subject: Re: [R] merge multiple data frames


Not tested, but this might be a case for the sqldf package.

-Don