Learn R Programming

fs (version 1.5.0)

dir_tree: Print contents of directories in a tree-like format

Description

Print contents of directories in a tree-like format

Usage

dir_tree(path = ".", recurse = TRUE, ...)

Arguments

path

A path to print the tree from

recurse

If TRUE recurse fully, if a positive number the number of levels to recurse.

...

Additional arguments passed to dir_ls.