Skip to contents

Retrieve a List of Files from a Folder

Usage

getFilesFromFolder(ident, from = pwd(), filePattern = "", recurse = F)

Arguments

ident

Path, resource, or entity ID of the folder (one folder at a time).

from

Used for relative paths. By default, pwd is used (initiated with the step that started improveR).

filePattern

Filter applied to the file name (example: *.r).

recurse

If TRUE, nested folders are also parsed. Defaults to FALSE.

References

ics1141