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 path character string specifying the path whose contents are to be listed

Value

A character vector containing file and directory names.

Note

This function is part of the Bioconductor project at Dana-Farber Cancer Institute to provide Bioinformatics functionalities through R.

Author(s)

Jianhua (John) Zhang

See Also

fileBrowser, pickFiles

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.8.0 Index]