inSweave: Identifying Sweave Run

Description Usage Value Examples

Description

Tells if the current code is being executed within a Sweave document.

Usage

1

Value

TRUE or FALSE

Examples

1
2
3
4
# Not in a Sweave document
inSweave()

# Within a Sweave document


Search within the pkgmaker package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.