Learn R Programming

TAF (version 4.3.0)

dir.tree: Directory Tree

Description

Show directory structure and files in a tree format.

Usage

dir.tree(path = ".")

Arguments

path

the directory to show.

See Also

dir is the underlying base function that returns directories and files as strings.

TAF-package gives an overview of the package.

Examples

Run this code
if (FALSE) {
path <- system.file("examples", package="TAF")
dir.tree(path)
cbind(dir(recursive=TRUE, include.dirs=TRUE))
}

Run the code above in your browser using DataLab