Rev 25438 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{toString}\alias{toString}\alias{toString.default}\title{ toString converts its argument to a character string. }\description{This is a helper function for \code{\link{format}}. It converts its argumentto a string. If the argument is a vector then its elements areconcatenated with a \code{,} as a separtor.Most methods should honor the width argument.The minimum value for \code{width} is six.}\usage{toString(x, ...)toString.default(x, width)}\arguments{\item{x}{ The object to be converted. }\item{width}{The returned value is at most the first \code{width} characters.}\item{\dots}{ Optional arguments. }}\value{A character vector of length 1 is returned.}\author{ Robert Gentleman }\seealso{ \code{\link{format}} }\examples{x <- c("a","b","aaaaaaaaaaa")toString(x)toString(x, width=8)}\keyword{ ~keyword }%-- one or more ...