Hi all I have 450 files to merge, but each of them has 6 rows that I don't need and should be removed from the files.
Is there any code to remove the 6 rows and merge them Or merge them first and remove the 6 rows?
Here is what one of the files looks like:
Thank you tomas The problem is I have 450 files each in one folder. How can I read all these at the same time?
Is it possible to do it for multiple files?
You can use
cbind
and for loop in R to merge all data.list.files(dir)
will list all file names. You can make the loop and assign filenames as column names.