name {base} | R Documentation |
Variable Names
Description
as.name
coerces its argument to be a name. The argument must
be of mode "character"
.
is.name
returns TRUE
or FALSE
depending on
whether its argument is a name or not.
Usage
as.name(x)
is.name(x)
See Also
call
, is.language
. For the internal
object mode, typeof
.
Examples
an _ as.name("arrg")
is.name(an) # TRUE
str(an)# symbol