search for: file1b

Displaying 1 result from an estimated 1 matches for "file1b".

Did you mean: file1
2003 Apr 09
3
Reading in multiple files
...and I would like to combine the files into a single data frame. 2. Individually, it is easy to read each file >DATA<-read.csv("c:\\temp\\file1a.csv",header=T) 3. It is also fairly easy to add new files to the data frame one at a time: >DATA<-rbind(DATA,read.csv("c:\\temp\\file1b.csv",header=T)) What is tedious about this solution is that we have to change the file name in step 3 every time. Is there a way to have R identify all the files in a directory and create one big data frame? I'm working in Windows with R 1.6.2. Thanks Paul MAJ Paul Bliese, Ph.D. Walte...