toc | R Documentation |
toc
statically reads all the function definitions and returns
a data.frame
with the names of the functions and the file each is in.
toc(dir = ".", files = getRFiles(dir, pattern = pattern), pattern = "\\.[RrsSq]$")
dir |
the directory in which to find the |
files |
a character vector of the paths to the |
pattern |
the pattern for finding the |
A data.frame
.
Duncan Temple Lang
getFunctionDefs
d = system.file("sampleCode", package = "CodeAnalysis")
df = toc(d)
head(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.