ls.sources | R Documentation |
ls.soucres.
ls.sources(DIR = ".", use.basename = TRUE)
DIR |
name of the directory, defaults to "." |
use.basename |
Whether to use basename (TRUE) or full name for list names |
The *.R files in a folder (defaults to the current working directory) are Source'd and the names of the objects listed. This does not add anything to the global environment (see 'Source').
This is useful to get an overview of what's where e.g in an R/ subfolder of a package.
a list with one component per each *.R file in the folder
Source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.