getCharacters.Arguments {R.utils} | R Documentation |
Coerces to a character vector and validates.
Arguments$getCharacters(s, length=NULL, trim=FALSE, nchar=NULL, asGString=TRUE, .name=NULL, ...)
s |
A vector . |
nchar |
A numeric vector of length one or two. If one,
the maximum number of characters ("length") in s . If two,
the minimum and maximum length of s . |
asGString |
If TRUE , each string is treated as a GString . |
.name |
A character string for name used in error messages. |
... |
Not used. |
Returns a character
vector
, if it is valid. Otherwise an exception is
thrown.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see Arguments
.