getSfilesPath {DataClean}R Documentation

Collecting paths of some specified files that you want to import or read.

Description

If you want to collect all files under certain folder, this function should be the perfect one. It will collect all files with certain name. Then this function will return a list will all paths of those files so that further import or read is feasible.

Usage

getSfilesPath(root.path, filename)

Arguments

root.path

is the root path including all folders and files that you would like to search.

filename

is the name of files that you want to collect.

Value

The whole paths of all files that meet the criteria were saved as a list.

Examples

getSfilesPath(root.path = R.home(), filename = "?.exe")

[Package DataClean version 1.0 Index]