setSpellConfig {Aspell} | R Documentation |
This function allows one to
setSpellConfig(conf, ..., .values = NULL) getSpellConfig(conf = createSpellConfig(), ..., .values = NULL)
conf |
the configuration object, typically of class AspellConfig-class . |
... |
for interactive use, this allows the caller to specify
name = value pairs of options that are to be set in the
configuration object. |
.values |
the programmatic mechanism for specifiying the name-value pairs as a named character vector. |
getSpellConfig
returns a named list of the current settings for
the option values in the configuration.
setSpellConfig
returns an integer vector giving the status of
the setting each of the specified options.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://aspell.sourceforge.net/man-html/The-Options.html#The%20Options http://aspell.sourceforge.net
conf = createSpellConfig() conf$warn conf$warn <- FALSE conf$warn # To append to a list. conf$"add-filter" = "email" conf$filter <- c("html", "email") conf$filter # [1] "url" "html" "email" conf$warn # Will produce an error since warn doesn't support lists. try(conf$warn <- c("true", "false"))