Merge multiple .xlsx and .csv files in a folder, by header information. Download FileMerge.R Open file in R Set your working directory which has files needs to be merged. Run the code Code will throw errors:
- if files have different header information
- if folder contains files other then .csv and .xlsx
- if there are more than one sheet in files