pathKeyWord: pathKeyWord

Description Usage Arguments Value Examples

View source: R/pathKeyWord.R

Description

pathKeyWord takes as input character strings for the drive name, folder name and file name, and produces a string joining the drive, dir and specififed file names

Usage

1
pathKeyWord(drive, dir, ext, recursive = TRUE)

Arguments

drive

a character string indicating the main drive

dir

a character string indicating the main folder

ext

a character string indicating the file extension when searching for specific files (e.g. '.xlsx')

recursive

a boolean variable indicating whether the listing into directories is recursive i.e. whether files within subfolders present in the parent folder (dir) should be listed or not.

Value

pathKeyWord returns a string of class character with the entire path of the file, joining drive, dir and specified files

Examples

1
pathKeyWord("D","Folder","key")

lwTools/agriTrf documentation built on March 26, 2020, 12:09 a.m.