\HeaderA{bquote}{Partial substitution in expressions}{bquote}
\keyword{programming}{bquote}
\keyword{data}{bquote}
\begin{Description}\relax
An analogue of the LISP backquote macro.  \code{bquote} quotes its
argument except that terms wrapped in \code{.()} are evaluated in the
specified \code{where} environment.
\end{Description}
\begin{Usage}
\begin{verbatim}
bquote(expr, where = parent.frame())
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{expr}] A language object.
\item[\code{where}] An environment.
\end{ldescription}
\end{Arguments}
\begin{Value}
A language object.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{quote}{quote}}, \code{\LinkA{substitute}{substitute}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
require(graphics)

a <- 2

bquote(a == a)
quote(a == a)

bquote(a == .(a))
substitute(a == A, list(A = a))

plot(1:10, a*(1:10), main = bquote(a == .(a)))
\end{ExampleCode}
\end{Examples}

