inSweave: Identifying Sweave Run

Description Usage Value Examples

View source: R/vignette.R

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

pkgmaker documentation built on May 29, 2017, 12:03 p.m.

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