Description Usage Arguments Value Author(s) References See Also Examples
This function clears the specified speller instance of all information it has collected during the (spelling) session and make it is behave as if it were a new speller.
One can also create a new speller. The advantage of clearing it is that the options are still present.
1 | clearSession(speller)
|
speller |
the |
An integer value indicating whether the operation was successful (non-zero) or not (0).
Duncan Temple Lang <duncan@wald.ucdavis.edu>
getSpeller
AspellSpeller-class
1 2 3 4 5 6 7 8 9 10 11 12 | sp = getSpeller()
aspell("duncan", FALSE, speller = sp)
addToList("duncan", speller = sp)
# Should be treated as spelled correctly now.
aspell("duncan", FALSE, speller = sp)
# Will throw error if a WritableDict since method is unimplemented.
try(clearSession(sp))
# Should be mis-spelled again.
aspell("duncan", FALSE, speller = sp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.