Rev 7124 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{as.char.or.expr}\alias{as.char.or.expr}\title{Coerce to Character or Expression}\usage{as.char.or.expr(x)}\description{Coerce expression and call objects to expressions, and all otherobjects to character.}\arguments{\item{x}{an arbitrary \R object.}}\details{This function is used for handling the \code{text} arguments to thetext-drawing functions. These arguments can be character strings orexpressions (which are interpreted as mathematical expressions andtypeset according to TeX-like rules, see \code{\link{plotmath}} formore details). Users will typically have no need for it.}\examples{as.char.or.expr("This is a string.")as.char.or.expr(call("round", 10.5))}\keyword{dplot}\keyword{utilities}