Thursday, 23 April 2015

Reading in a list of files...

Sometimes my data is in a group of separate files.
For that reason, I want to find a way to read in multiple files.
These two posts seem to provide some useful code for me to try:

  • http://brianmannmath.github.io/blog/2014/01/20/using-lapply-to-import-files-to-r/
  • http://www.ats.ucla.edu/stat/r/pages/read_multiple.htm
I wondered if you could have a list of data frames and the second link seems to suggest that you can. Interesting. 


No comments:

Post a Comment