appendSepDir {tkWidgets} | R Documentation |
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.
appendSepDir(path)
path |
|
A character vector containing file and directory names.
Jianhua (John) Zhang
# File names and directory names are not differentiated
list.files()
# Put a separater at the end of directory names
appendSepDir(getwd())