print_fs | R Documentation |
Prints the directories and files of the given path.
print_fs(
path = ".",
depth = 2L,
print = TRUE,
return = FALSE,
prefix = "",
level = 0
)
path |
a folder path. |
depth |
a positive integer with the depth of the folder structure. |
print |
a boolean if TRUE (default), the file structure will be printed |
return |
a boolean if TRUE, the file structure is returned as a vector. If FALSE the return is NULL. The default value is FALSE. |
prefix |
internal character to indicate the indention of depth. |
level |
internal numeric to indicate the current depth. |
Either the file structure or NULL
Jakob Gepp
print_fs(path = ".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.