getListFiles {inpdfr} | R Documentation |
List files in a specified directory sorted by extension. The function takes
into account .txt and .pdf files based on strsplit
function.
getListFiles(mywd)
mywd |
A string containing the working directory. |
A list of length 2 with file names sorted by extension (pdf and txt).
getListFiles(mywd = getwd())