| Line 26... |
Line 26... |
| 26 |
}
|
26 |
}
|
| 27 |
\details{
|
27 |
\details{
|
| 28 |
This is a generic function for which methods can be written: only the
|
28 |
This is a generic function for which methods can be written: only the
|
| 29 |
default method is described here. Most methods should honor the
|
29 |
default method is described here. Most methods should honor the
|
| 30 |
\code{width} argument to specify the maximum display width (as measured
|
30 |
\code{width} argument to specify the maximum display width (as measured
|
| 31 |
by \code{\link{nchar}(type = "width")} of the result.
|
31 |
by \code{\link{nchar}(type = "width")}) of the result.
|
| 32 |
|
32 |
|
| 33 |
The default method first converts \code{x} to character and then
|
33 |
The default method first converts \code{x} to character and then
|
| 34 |
concatenates the elements separated by \code{", "}.
|
34 |
concatenates the elements separated by \code{", "}.
|
| 35 |
If \code{width} is supplied and is not \code{NULL}, the default method
|
35 |
If \code{width} is supplied and is not \code{NULL}, the default method
|
| 36 |
returns the first \code{width - 4} characters of the result with
|
36 |
returns the first \code{width - 4} characters of the result with
|