setSpellConfig {Aspell}R Documentation

Set options in an aspell configuration object

Description

This function allows one to

Usage

setSpellConfig(conf, ..., .values = NULL)
getSpellConfig(conf = createSpellConfig(), ..., .values = NULL)

Arguments

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.

Value

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.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://aspell.sourceforge.net/man-html/The-Options.html#The%20Options http://aspell.sourceforge.net

See Also

getSpeller aspell

Examples


  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"))

[Package Aspell version 0.2-0 Index]