#put all data frames into list df_list <- list(df1, df2, df3) #merge all data frames in list Reduce(function(x, y) merge(x, y, all=TRUE), df_list)