This help topic is for R version 0.90. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/is.language.html
is.language {base}R Documentation

Is an Object a Language Object?

Description

is.language returns TRUE if x is either a variable name, a call, or an expression.

Usage

is.language(x)

Examples

ll <- list(a=expression(x^2 - 2*x + 1), b= as.name("Jim"),
	   c=as.expression(exp(1)), d=call("sin",pi))
sapply(ll, typeof)
sapply(ll, mode)
sapply(ll, is.language)# all TRUE

[Package base version 0.90 ]