powered by
These functions generate an ordered filelist and an order list of config numbers by using a path and a basename and '*'.
getorderedfilelist(path = "./", basename = "onlinemeas", last.digits = 4, ending = "")
the path to be searched
the basename of the files
the number of last characters in each filename to be used for ordering the list.
the file extension after the digits.
returns the ordered list of strings.
All filenames are assumend to have equal length.
readcmidatafiles, extract.obs
readcmidatafiles
extract.obs
# NOT RUN { filelist <- getorderedfilelist(path=paste0(system.file(package="hadron"), "/extdata/"), basename="testfile", last.digits=3, ending=".dat") filelist # }
Run the code above in your browser using DataLab