appendSepDir {tkWidgets} | R Documentation |
List File and Directories for a Given Path
Description
Takes a path and returns a vector of string with the names of files and directories for the path. The directory names will have a system dependent path separator (e. g. / for Unix) appended.
Usage
appendSepDir(path)
Arguments
path |
|
Value
A character vector containing file and directory names.
Author(s)
Jianhua (John) Zhang
See Also
Examples
# File names and directory names are not differentiated
list.files()
# Put a separater at the end of directory names
appendSepDir(getwd())
[Package tkWidgets version 1.74.0 Index]