If you know how to merge 2 of the files together, then you can use the Reduce
function to do the merging of multiple files.
You could use lapply to read all of the files into a list, then Reduce to merge
them together, then output the result to a new file if a file is really what
you want.
Ano
> Here I have a folder with more than 50 tab-delimited files. Each
> file has a few hundreds of thousands rows/subjects, and the number
> of columns/variables of each file varies.The 1st row consists of all
> the variable names.
>
> Now I would like to merge all the files into one tab-delimited
2 matches
Mail list logo