if (FALSE) {
# folder with OnTarget PC v1.1* output files
fPath <- 'c:/folder/otFiles'
fileNam <- c('pts01.txt', 'pts02.txt') # desired files in that folder
DFgroup <- readDataOT1(fPath, fNames=fileNam)
## alternatively, specify filename pattern for all files to be read in
fPath <- 'c:/folder/otFiles' # folder with data files
fPat <- '^pts[[:digit:]]{2}\\.txt$' # filename pattern
DFgroup <- readDataOT1(fPath, fPat=pattern)
}
## result should look like this
data(DFcm)
head(DFcm)
Run the code above in your browser using DataLab