Quote
Return an Unevaluated Expression
Description
the literal, unevaluated expression is returned.
Unlike expression(),
does not cloak it in an expression object.
Usage
Quote(expr)
quote(expr)
Arguments
expr |
a single expression
(may be any expression, including a braced expression).
|
Value
the input expression is returned unevaluated.
The class of the return value depends on the expression.
Function calls have class call,
braced expressions have class "\{", and so on.
Note
The uppercase Quote and
lowercase quote are alternate
names for the same function. The lowercase one is often
used in R, although both are available there also.
See Also
Examples
Quote(c(1,2,3))
Quote(x+y+z)
Quote( (x+y)+z)
class(Quote( x+y+z)) # "call"
class(Quote( (x+y+z))) # "("
class(Quote("x+y+z")) # "character"