Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

inSweave

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

pkgmaker

Development Utilities for R Packages

v0.32.2
GPL (>= 2)
Authors
Renaud Gaujoux [aut, cre]
Initial release
2020-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.