Description Usage Arguments Details Value Author(s) See Also Examples
Show directories as indented names
1 |
path |
character[1] Is the root directory. Default is the value
of |
options |
character[1] String of options to be passed to
|
linux |
logical[1] Default is |
This function calls
tree
if
it is available is Linux OS. The call is made with
system()
. Otherwise, a (less sophisticated) R native
approach is used.
Prints an ASCII art of the directory tree.
Walmes Zeviani, walmes@ufpr.br.
dir_tree()
for an implementation entirely
based on R and functional in all SO. Also,
dir()
, list.files()
and
list.dirs()
can be useful in many
circumstances.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.