getListFiles: List files in a specified directory sorted by extension.

View source: R/inpdfr_PRO_manageFiles.R

getListFilesR Documentation

List files in a specified directory sorted by extension.

Description

List files in a specified directory sorted by extension. The function takes into account .txt and .pdf files based on strsplit function.

Usage

getListFiles(mywd)

Arguments

mywd

A string containing the working directory.

Value

A list of length 2 with file names sorted by extension (pdf and txt).

Examples

getListFiles(mywd = getwd())

frareb/inpdfr documentation built on Aug. 30, 2023, 5:24 a.m.