Displaying 1 result from an estimated 1 matches for "natfiles".
Did you mean:
datfiles
2012 Apr 01
1
Selecting files with a particular string in filename
...because it looks for a specific path. Any help is
appreciated.
Thanks in advance.
- Kumar
for (i in 1:100) {
name_rep = paste("rep_",i,"_",sep="")
files <- list.files(path="C:\\Users\\Binn\\Desktop\\script_output",
pattern= name_rep, full.names=TRUE )
natfiles <- list.files(path=files, pattern= "_natrain.csv", full.names=TRUE
)
<OPERATIONS HERE>
}
--
Section of Integrative Biology
University of Texas at Austin
Austin, Texas 78712, USA
[[alternative HTML version deleted]]