| KeyInfo-class {Aspell} | R Documentation |
This class is used to represent meta-data about options within the aspell library's configuration mechanism.
Objects can be created by calls of the form new("KeyInfo", ...).
Typically, one does not create objects of this type directly.
Instead, these are created programmatically via a call to
getSpellInfo.
name:"character" the name of
the option. type:"integer" the type of the
value of this option. This is a named integer.
It will be one of the elements of
c(string = 0, int = 1, boolean = 2, list = 3).
def:"character". The default value.desc:"character". A short
description of the option. This serves as the help.flags:"integer". Flags
providing information about characteristics of this option.
This includes things like whether it is hidden, modifiable, UTF8.
other_data:"integer". Used
internally by aspell (see common/config.cpp).No methods defined with class "KeyInfo" in the signature.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://aspell.sourceforge.net http://www.omegahat.org
opts = getSpellInfo() # Get all the list elements. opts[sapply(opts, function(x) names(x@type)) == "list"]