inSweave | R Documentation |
Tells if the current code is being executed within a Sweave document.
inSweave()
TRUE
or FALSE
# Not in a Sweave document
inSweave()
# Within a Sweave document
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.