sourceGithub | R Documentation |
sources R files from github
sourceGithub(githubPath, lines = NULL, branch = "master")
githubPath |
character. username/repository/pathToFile. Lines to excecute can be provided with github's #L1-L5 syntax. The function doesn't work with files that have ? # [ or ] in their addresses. |
branch |
which branch to source from |
line |
numbers to excecute. Providing lines in both here and with githubPath will result in an error. |
loadURL
, sourceGithub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.