I am running a simulation study and need to process and save the results from several text files. I have the data organized in such a way where there are sub directories and wit
If you need to run the same analysis on each of the files, then you can access them in one shot using list.files(recursive = T). This is assuming that you have already set your working directory to Data Folder. The recursive = T lists all files within subdirectories as well.