| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/utils.R |
| 3 |
\name{knit_global} |
| 4 |
\alias{knit_global} |
| 5 |
\title{The global environment for evaluating code} |
| 6 |
\usage{ |
| 7 |
knit_global(envir = NULL) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{envir}{If \code{NULL}, the function returns the \code{envir} argument |
| 11 |
of \code{\link{knit}}, otherwise it should be a new environment for |
| 12 |
evaluating code, in which case the function returns the old environment |
| 13 |
after setting the new environment.} |
| 14 |
} |
| 15 |
\description{ |
| 16 |
Get or set the environment in which code chunks are evaluated. |
| 17 |
} |