LocalDirList | R Documentation |
Retrieve a directory listing from a local file system as either a simple list of file/folder names or a data frame with file/folder information.
LocalDirList(
path,
fileType = NULL,
namesOnly = TRUE,
directoryOnly = FALSE,
...
)
path |
Path for a folder. Trailing slash is optional. |
fileType |
Any valid string for the pattern parameter in |
namesOnly |
Boolean indicating you want only file names (TRUE) or all directory information (FALSE). |
directoryOnly |
Boolean indicating you only want folder names included in the list of returned files/folders. |
... |
Arguments passed to |
A list of file names (invisible) or a data frame (invisible) with file names and attribute
information. The return value depends on namesOnly
.
## Not run:
DirList("vdelivery/Datasets/Staged/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.