if (FALSE) {
# folder with OnTarget PC v2.* or OnTarget TDS v3.* output files
fPath <- 'c:/folder/otFiles'
fileNam <- c('pts01.csv', 'pts02.csv') # desired files in that folder
DFgroup <- readDataOT2(fPath, fNames=fileNam, combine=TRUE)
## 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 <- readDataOT2(fPath, fPat=pattern, combine=TRUE)
}
## result should look like this
data(DFcm)
head(DFcm)
Run the code above in your browser using DataLab