Learn R Programming

syncdr (version 0.1.1)

display_dir_tree: Display tree structure of one (or two) directory

Description

Display tree structure of one (or two) directory

Usage

display_dir_tree(path_left = NULL, path_right = NULL, recurse = TRUE)

Value

directories tree

Arguments

path_left

path of left directory

path_right

path of right directory

recurse

logical, default to TRUE: show also sub-directories

Examples

Run this code
# Create a temporary directory structure

# \donttest{
e <- toy_dirs()
left  <- e$left
right <- e$right

display_dir_tree(
  path_left  = left,
  path_right = right
)

display_dir_tree(path_right = right)
# }

Run the code above in your browser using DataLab