scandir | R Documentation |
Displays the content of the provided directory as an HTML list of links. Can display only certain files (e.g. those with a specific extension or prefix) using pattern matching. This function is somewhat equivalent to the PHP and Shell functions of the same name.
scandir(dir, pattern = NULL, type = c("ul", "ol"), ...)
dir |
path to the directory of interest |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned (as in |
type |
of list to produce: unordered ( |
... |
passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.