inSweave {pkgmaker} | R Documentation |
Identifying Sweave Run
Description
Tells if the current code is being executed within a Sweave document.
Usage
inSweave()
Value
TRUE
or FALSE
Examples
# Not in a Sweave document
inSweave()
# Within a Sweave document
[Package pkgmaker version 0.32.10 Index]