How can I read multiple files from multiple directories into R for processing?

后端 未结 4 1753
广开言路
广开言路 2021-02-09 04:10

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

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-09 04:42

    You can use Perl's glob () function to get a list of files and send it to R using, e.g., RSPerl's interface.

提交回复
热议问题