Displaying 1 result from an estimated 1 matches for "299945".
Did you mean:
259945
2006 Sep 04
3
opening files in directory
Hi there
I want to be able to take all the files in a given directory, read them in one at a time, calculate a distance matrix for them (the files are data matrices) and then print them out to separate files. This is the code I thought I would be able to use
(all files are in directory data_files)
for(i in 1:length(files))
+ {
+ x<-read.table("data_files/files[[i]]")
+