Hi,
On Wed, Feb 9, 2011 at 11:18 PM, Benjamin Caldwell
wrote:
> So I needed to merge 17 .csv files, and did so by brute force, but I might
> need to do so again. Anyone have suggestions for a for loop that might do
> the below for me (where a:r are separate .csv files)
>
> ab<-merge(a,b,all=TRUE)
you might try merge_recurse(list(DF1,DF2,DF3,DF4,DF17)) in the reshape
package
--
View this message in context:
http://r.789695.n4.nabble.com/for-loop-to-merge-csvs-tp3298549p3298565.html
Sent from the R help mailing list archive at Nabble.com.
__
So I needed to merge 17 .csv files, and did so by brute force, but I might
need to do so again. Anyone have suggestions for a for loop that might do
the below for me (where a:r are separate .csv files)
ab<-merge(a,b,all=TRUE)
cd<-merge(c,d,all=TRUE)
ef<-merge(e,f,all=TRUE)
gh<-merge(g,h,all=TRUE)
3 matches
Mail list logo