Description Usage Arguments Value
Allow users to leverage knitr when constructing Synapse Wiki content
1 2 |
file |
path to a local .Rmd file which to knit |
owner |
A Synapse object which will own the resulting WikiPage (usually a Project, Folder, or File) |
parentWikiId |
If the resulting WikiPage is to be a subpage of another WikiPage, this is the id for the parent WikiPage (NOTE: owner is still required) |
wikiName |
A title for the resulting WikiPage - will default to the file name without the .Rmd extension |
overwrite |
Only if owner specified and parentWikiId is NULL - flag for whether or not to overwrite the previous root WikiPage (if it exists) |
knitmd |
Flag for whether or not to knit; if false and file already exists, don't knit it again |
a synapseClient::WikiPage object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.