Arguments$getCharacters {R.utils} | R Documentation |
Coerces to a character vector and validates.
## Static method (use this): ## Arguments$getCharacters(s, length=NULL, trim=FALSE, nchar=NULL, useNames=TRUE, ## asGString=getOption("Arguments$getCharacters/args/asGString", TRUE), .name=NULL, ## ...) ## Don't use the below: ## S3 method for class 'Arguments' getCharacters(static, s, length=NULL, trim=FALSE, nchar=NULL, useNames=TRUE, asGString=getOption("Arguments$getCharacters/args/asGString", TRUE), .name=NULL, ...)
s |
A |
nchar |
A |
useNames |
If |
asGString |
|
.name |
A |
... |
Not used. |
Returns a character
vector
, if it is valid. Otherwise an exception is
thrown.
If s
contains missing values, and nchar
is not NULL
,
then an exception is thrown.
Henrik Bengtsson
For more information see Arguments
.