View source: R/S03_Utilities.R
create_table_of_contents | R Documentation |
Given a path to an R script, creates a
table of contents by searching for
section headers of the form:
#### X) Label ####
where X
is a
numbering scheme (e.g.,1, 2.1, 3.2.1)
with periods denoting nested sub-sections.
create_table_of_contents(file_path)
file_path |
An absolute path to the R script. |
Outputs a message to the R console window with the table of contents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.