Loading multiply files from different folders once

+2 Zhifang Hu · January 12, 2016
I have a set of file with a structure like

Parent Folder
../../sets

Child Folder
../../sets/10
../../sets/20
etc.

Each child folder has a single text file such as
../../sets/10/test_results

The file in the child folder all have the same name.
 What i want to do is reading all the files in the child folder at one time as i want to combine data in the files from all the child folders into a single file for further use. Is there any fast way of doing this.

Many Thanks


Post a Reply

Replies

Oldest  Newest  Rating
0 Serena Mikell · January 13, 2016
Refer to this link:

Reading multiple csv files from a folder into a single dataframe in R [duplicate]

http://stackoverflow.com/questions/24819433/reading-multiple-csv-files-from-a-folder-into-a-single-dataframe-in-r

http://helpwritinganessay.com/research-paper/
  • 1

C++

107,335 followers
About

Used in many types of software including music players, video games, and many large scale applications.

Links
Moderators
Bucky Roberts Administrator