## Not run:
# fPath <- 'c:/folder/files' # folder with data files
# fileNam <- c('pts01.txt', 'pts02.txt') # desired files in that folder
# DFgroup <- readDataMisc(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 <- readDataMisc(fPath, fPat=pattern, combine=TRUE)
# ## End(Not run)
## result should look like this
data(DFcm)
head(DFcm)
Run the code above in your browser using DataLab